|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A trigger that detects button press and release. Includes provisions for chording (multi-button trigger), and arming, capturing, and latching trigger states. This trigger fires when any of the trigger buttons and all of the chord buttons are active, while no other domain buttons are active. For example, if the trigger buttons are the mouse buttons, the chord buttons are the keyboard shift key, and the domain buttons are the keyboard modifier keys, then the trigger will fire if any mouse button is active and, of the modifier keys, only the shift key is active. TODO: It would be better for the client if chording were implemented as a separate filter, but this may be difficult given that the chord and domain are used for trigger arming.
Method Summary | |
BooleanField.EventIn |
getActiveIn()
While false, input events are ignored. |
BooleanField.EventOut |
getArmedOut()
Sends true while this trigger is armed for firing. |
StateSetField.EventIn |
getButtonsIn()
The input button states. |
BooleanField.EventIn |
getCancelIn()
If true, cancels trigger capture and blocks trigger inputs; and, resets the trigger when it goes false again. |
BooleanField.EventOut |
getCancelOut()
Sends true if cancel in goes true while this trigger is captured, and goes false after cancel in goes false. |
BooleanField.EventOut |
getCaptureOut()
Sends true while this trigger is captured for rearming, firing, or cancellation. |
java.util.Collection |
getChordButtons()
Gets an immutable view of the recognized chord buttons (Object, specifically MouseSensors.BUTTON_???, KeyboardSensors.KEY_???). |
java.util.Collection |
getDomainButtons()
Gets an immutable view of the recognized domain buttons (Object, specifically MouseSensors.BUTTON_???, KeyboardSensors.KEY_???). |
BooleanField.EventIn |
getEnableIn()
While false, input events are ignored and the trigger remains in the reset state, with all outputs false. |
BooleanField.EventIn |
getFireableIn()
If true, this trigger is armable and fireable; otherwise, it cannot be armed or fired. |
NotifyNode.EventOut |
getFireNotifyOut()
Convenience event that fires after fire out goes true. |
BooleanField.EventOut |
getFireOut()
Sends true when an armed button fires. |
NotifyNode.EventIn |
getResetIn()
Resets this trigger if fired. |
java.util.Collection |
getTriggerButtons()
Gets an immutable view of the recognized trigger buttons (Object, specifically MouseSensors.BUTTON_???, KeyboardSensors.KEY_???). |
Method Detail |
public java.util.Collection getTriggerButtons()
public java.util.Collection getChordButtons()
public java.util.Collection getDomainButtons()
public BooleanField.EventIn getEnableIn()
public BooleanField.EventIn getActiveIn()
public StateSetField.EventIn getButtonsIn()
public BooleanField.EventIn getFireableIn()
public NotifyNode.EventIn getResetIn()
public BooleanField.EventIn getCancelIn()
public BooleanField.EventOut getCaptureOut()
public BooleanField.EventOut getArmedOut()
public BooleanField.EventOut getFireOut()
public NotifyNode.EventOut getFireNotifyOut()
public BooleanField.EventOut getCancelOut()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |