|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.interact.StatusAdapter
Base class for status feedback adapters. Converts discrete control events into a target interactor state (see InteractorFlags.STATUS_???). Can work multiple targets, but relies on input events to do any cleanup before switching to a new target.
Constructor Summary | |
StatusAdapter()
Creates an instance that recognizes all targets. |
|
StatusAdapter(java.util.Collection targets)
Creates an instance that recognizes a group of dynamic targets. |
|
StatusAdapter(Interactor target)
Creates an instance that recognizes a single static target. |
Method Summary | |
BooleanField.EventIn |
getDisableIn()
True while the control is disabled. |
BooleanField.EventIn |
getDiscommendIn()
True while control use is discommended. |
BooleanField.EventIn |
getInactiveIn()
True while the control is inactive (because window is inactive). |
BooleanField.EventIn |
getRecommendIn()
True while control use is recommended. |
InteractorField.EventIn |
getTargetIn()
The current target. |
void |
setNoPickTarget(Interactor target)
Sets the feedback target corresponding to NO_PICK_TARGET target in. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatusAdapter()
public StatusAdapter(Interactor target)
target
- The recognized target. NO_PICK_TARGET for the no
pick target. Never null.public StatusAdapter(java.util.Collection targets)
targets
- The group of recognized targets (Interactor).
Live reference. Include NO_PICK_TARGET for the no
pick target. Only affects new targets. If null, all targets
are recognized.Method Detail |
public void setNoPickTarget(Interactor target)
target
- The feedback target. Null if none. The default is null.public InteractorField.EventIn getTargetIn()
public BooleanField.EventIn getInactiveIn()
public BooleanField.EventIn getDisableIn()
public BooleanField.EventIn getRecommendIn()
public BooleanField.EventIn getDiscommendIn()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |