|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.interact.AbstractPickMapper | +--gumbo.interact.select.AbstractSelectMapper
Full implementation of the SelectMapper interface.
Constructor Summary | |
AbstractSelectMapper(InteractorGroup group)
Creates an instance with pass-through and on-change output, and a default selection group. |
|
AbstractSelectMapper(InteractorGroup group,
boolean passThrough,
boolean onChange)
Creates an instance. |
Method Summary | |
BooleanField.EventIn |
getActiveIn()
If false, input events are ignored and the selection group cannot be changed. |
CollectionField.EventIn |
getAddAllIn()
Adds a group of members (Interactor) to the selection group and syncs their state. |
InteractorField.EventIn |
getAddIn()
Adds a member to the selection group and syncs its state. |
InteractorField.EventOut |
getAddOut()
Sends the interactor after it is added to the selection group. |
NotifyNode.EventIn |
getClearIn()
Removes all members from the selection group and desyncs their state. |
InteractorField.EventOut |
getGroupOut()
Sends an immutable view of the interactor group (InteractorGroup) after it may have been modified. |
CollectionField.EventIn |
getRemoveAllIn()
Removes a group of members (Interactor) from the selection group and desyncs their state. |
InteractorField.EventIn |
getRemoveIn()
Removes a member from the selection group and desyncs its state. |
InteractorField.EventOut |
getRemoveOut()
Sends the interactor after it is removed from the selection group. |
InteractorGroup |
getSelectGroup()
Returns the selection group managed by this select mapper. |
Methods inherited from class gumbo.interact.AbstractPickMapper |
getPickIn, getPickMap, getPickOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gumbo.interact.PickMapper |
getPickIn, getPickOut |
Constructor Detail |
public AbstractSelectMapper(InteractorGroup group)
group
- The target selection group. Never null.public AbstractSelectMapper(InteractorGroup group, boolean passThrough, boolean onChange)
group
- The target selection group. Never null.passThrough
- If true, an input pick without a mapping will
pass through as the output pick; otherwise, the output pick will
be null. Does not affect null-value mappings.onChange
- If true, an output event is sent only if its data
value changes.Method Detail |
public InteractorGroup getSelectGroup()
SelectMapper
getSelectGroup
in interface SelectMapper
public BooleanField.EventIn getActiveIn()
SelectMapper
getActiveIn
in interface SelectMapper
public InteractorField.EventIn getAddIn()
SelectMapper
getAddIn
in interface SelectMapper
public InteractorField.EventIn getRemoveIn()
SelectMapper
getRemoveIn
in interface SelectMapper
public CollectionField.EventIn getAddAllIn()
SelectMapper
getAddAllIn
in interface SelectMapper
public CollectionField.EventIn getRemoveAllIn()
SelectMapper
getRemoveAllIn
in interface SelectMapper
public NotifyNode.EventIn getClearIn()
SelectMapper
getClearIn
in interface SelectMapper
public InteractorField.EventOut getAddOut()
SelectMapper
getAddOut
in interface SelectMapper
public InteractorField.EventOut getRemoveOut()
SelectMapper
getRemoveOut
in interface SelectMapper
public InteractorField.EventOut getGroupOut()
SelectMapper
getGroupOut
in interface SelectMapper
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |