|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.input.action.KeyInputAction
com.jme.input.action.KeyToggleBoolean
KeyToggleBoolean switches a boolean value from true to false based on a trigger.
| Field Summary |
| Fields inherited from class com.jme.input.action.KeyInputAction |
allowsRepeats, key, keyChar, speed |
| Constructor Summary | |
KeyToggleBoolean(boolean value)
Instantiates a new KeyToggleBoolean object. |
|
| Method Summary | |
boolean |
isValue()
returns the value. |
void |
performAction(InputActionEvent evt)
switches the value from true to false, or false to true. |
void |
setValue(boolean value)
sets the value. |
| Methods inherited from class com.jme.input.action.KeyInputAction |
allowsRepeats, getKey, getKeyChar, getSpeed, setAllowsRepeats, setKey, setKeyChar, setSpeed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeyToggleBoolean(boolean value)
value - the initial value to use for the toggle.| Method Detail |
public void performAction(InputActionEvent evt)
evt - the event that called this action.public boolean isValue()
public void setValue(boolean value)
value - The value to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||