|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.interact.PickAdapter
An adapter that converts a PickResult into an Interactor pick. The default implementation outputs the hit object in the first hit in the pick result as the picked interactor, NO_PICK_TARGET if no hits, or null if picking is inactive or the pick should be ignored.
Constructor Summary | |
PickAdapter()
Creates an instance, with onChange true. |
|
PickAdapter(boolean onChange)
Creates an instance. |
Method Summary | |
BooleanField.EventOut |
getActiveOut()
Sends true after a new non-null source object, and false before it changes or goes null. |
InteractorField.EventOut |
getPickOut()
Sends the pick interactor corresponding to result in, unless onChange is true and pick out has not changed. |
PickResultField.EventIn |
getResultIn()
The input pick result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PickAdapter()
public PickAdapter(boolean onChange)
onChange
- If true, an output event is sent only if its data
value changes.Method Detail |
public PickResultField.EventIn getResultIn()
public InteractorField.EventOut getPickOut()
public BooleanField.EventOut getActiveOut()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |