|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.interact.button.ClickAdapter
An adapter that detects button clicks in a click sequence.
Constructor Summary | |
ClickAdapter()
Creates an instance with the current system click time. |
|
ClickAdapter(int time)
Creates an instance. |
Method Summary | |
BooleanField.EventOut |
getActiveOut()
Sends true while a click sequence is active. |
NotifyNode.EventIn |
getClickIn()
Received each time a button click occurs. |
IntField.EventOut |
getCountOut()
Sends the click count for each button click in a sequence. |
NotifyNode.EventOut |
getDoubleOut()
Convenience event that fires after click out sends 2. |
NotifyNode.EventOut |
getSingleOut()
Convenience event that fires after click out sends 1. |
NotifyNode.EventOut |
getTripleOut()
Convenience event that fires after click out sends 3. |
protected void |
stopActive()
Called by the system when the click sequence ends and active out should stop. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClickAdapter()
public ClickAdapter(int time)
time
- The maximum time allowed between clicks,
in milliseconds. >0.Method Detail |
public NotifyNode.EventIn getClickIn()
public IntField.EventOut getCountOut()
public NotifyNode.EventOut getSingleOut()
public NotifyNode.EventOut getDoubleOut()
public NotifyNode.EventOut getTripleOut()
public BooleanField.EventOut getActiveOut()
protected void stopActive()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |