|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.interact.select.SelectFacade
A facade providing interactive selection for a single selection group. Typically used for command target selection. Includes a selection mapper, button gesture, selection feedback for the selection group, and control feedback for the gesture. The button gesture monitors the pick input for all targets. If the pick is NO_PICK_TARGET, any current selection will be cleared. If the pick is NO_SELECT_TARGET, it will be ignored. Typically used as the last link in a picking chain (see PickMapper). Optionally includes group action feedback.
Constructor Summary | |
SelectFacade(ButtonTrigger trigger)
Creates an instance. |
Method Summary | |
ActionGroupAdapter |
getActionGroupAdapter()
Gets a singleton action group feedback adapter, with all targets recognized, and all target inputs connected to the pick mapper's pick output. |
BooleanField.EventIn |
getActiveIn()
While false, new selections cannot be made, but any old selection can still be cleared. |
StateSetField.EventIn |
getButtonsIn()
The button state input to the select gesture. |
BooleanField.EventIn |
getCancelIn()
The cancel input to the select gesture. |
NotifyNode.EventIn |
getClearIn()
Clears any current selection and updates the selection type, if type in has changed. |
BooleanField.EventIn |
getMultiIn()
While true, pick in is added to the selection group (multi-select); otherwise, source in replaces the selection (single-select). |
InteractorField.EventIn |
getPickIn()
The pick input, which is the select gesture target and will be mapped by the select mapper as the pick out. |
InteractorField.EventOut |
getPickOut()
The selection mapper's pick output. |
ButtonGesture |
getSelectGesture()
Returns this facade's select gesture. |
SelectMapper |
getSelectMapper()
Returns this facade's select mapper. |
BooleanField.EventIn |
getToggleIn()
While true, augments multi in. |
CollectionField.EventIn |
getTypeIn()
The new selection type, specified as immutable state flags (Object). |
void |
setNoPickTarget(Interactor target)
Sets the control feedback target corresponding to a pick in value of NO_PICK_TARGET. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectFacade(ButtonTrigger trigger)
trigger
- A new button trigger defining the selection gesture's
button action. If a latching trigger, must be multi-shot (no
reset required). Typically, a PulseButtonTrigger. Never null.Method Detail |
public void setNoPickTarget(Interactor target)
target
- The feedback target. Null if none. The default is null.public ButtonGesture getSelectGesture()
public SelectMapper getSelectMapper()
public ActionGroupAdapter getActionGroupAdapter()
public BooleanField.EventIn getActiveIn()
public StateSetField.EventIn getButtonsIn()
public BooleanField.EventIn getCancelIn()
public BooleanField.EventIn getMultiIn()
public BooleanField.EventIn getToggleIn()
public NotifyNode.EventIn getClearIn()
public CollectionField.EventIn getTypeIn()
public InteractorField.EventIn getPickIn()
getPickIn
in interface PickMapper
public InteractorField.EventOut getPickOut()
getPickOut
in interface PickMapper
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |