|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--gumbo.interact.select.AbstractSelectManager
Full implementation of the SelectManager interface.
| Constructor Summary | |
AbstractSelectManager()
Creates an instance. |
|
| Method Summary | |
SelectMapper |
findSelectMapper(java.lang.Object role)
Returns the select mapper corresponding to a given select flag role object, which clients can use to modify a selection group's membership. |
BooleanField.EventIn |
getActiveIn()
While false, inputs are ignored. |
ObjectField.EventIn |
getAddGroupIn()
Adds a new empty selection group as the front group, with the input as the select flag role object (see newSelectFlag()). |
InteractorField.EventIn |
getAddIn()
Adds a member to the front selection group and syncs its state. |
NotifyNode.EventIn |
getClearIn()
Removes all members from the front selection group. |
int |
getGroupCount()
Gets the number of selection groups in this manager. |
InteractorField.EventIn |
getPickIn()
The input pick interactor. |
InteractorField.EventOut |
getPickOut()
The ouput pick interactor corresponding to the input pick. |
NotifyNode.EventIn |
getRemoveGroupIn()
Clears and removes the front selection group. |
InteractorField.EventIn |
getRemoveIn()
Removes a member from the front selection group and desyncs its state. |
SelectFlag |
getSelectFlag(int pickIndex)
Gets the select flag at the specified index in the picking chain. |
NotifyNode.EventIn |
getToBackIn()
Moves the front group to the back. |
InteractorField.EventIn |
getToFrontIn()
Moves the specified selection group to the front. |
protected SelectFlag |
newSelectFlag(int order,
java.lang.Object role)
Called by the system to build and return a new select flag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractSelectManager()
| Method Detail |
protected SelectFlag newSelectFlag(int order,
java.lang.Object role)
order - The flag selection order index (see SelectFlag).role - The flag role object (see SelectFlag).
public SelectMapper findSelectMapper(java.lang.Object role)
SelectManager
findSelectMapper in interface SelectManagerrole - The role object. Never null.
public SelectFlag getSelectFlag(int pickIndex)
SelectManager
getSelectFlag in interface SelectManagerpickIndex - Picking index. Zero is the front flag (highest
Z-order), and getGroupCount()-1 is the back flag (lowest Z-order).
public int getGroupCount()
SelectManager
getGroupCount in interface SelectManagerpublic BooleanField.EventIn getActiveIn()
SelectManager
getActiveIn in interface SelectManagerpublic ObjectField.EventIn getAddGroupIn()
SelectManager
getAddGroupIn in interface SelectManagerpublic NotifyNode.EventIn getRemoveGroupIn()
SelectManager
getRemoveGroupIn in interface SelectManagerpublic InteractorField.EventIn getToFrontIn()
SelectManager
getToFrontIn in interface SelectManagerpublic NotifyNode.EventIn getToBackIn()
SelectManager
getToBackIn in interface SelectManagerpublic InteractorField.EventIn getAddIn()
SelectManager
getAddIn in interface SelectManagerpublic InteractorField.EventIn getRemoveIn()
SelectManager
getRemoveIn in interface SelectManagerpublic NotifyNode.EventIn getClearIn()
SelectManager
getClearIn in interface SelectManagerpublic InteractorField.EventIn getPickIn()
PickMapper
getPickIn in interface PickMapperpublic InteractorField.EventOut getPickOut()
PickMapper
getPickOut in interface PickMapper
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||