|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A pick mapper that manages multiple selection groups (command and/or aspect) for picking and feedback overlap order. Picking order is managed through a chain of selection mappers, and feedback order is managed through associated selection adapters with ordered select flags. Both are ordered such that the front most selection group appears in front and is picked first.
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. |
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. |
Methods inherited from interface gumbo.interact.PickMapper |
getPickIn, getPickOut |
Method Detail |
public SelectMapper findSelectMapper(java.lang.Object role)
role
- The role object. Never null.
public SelectFlag getSelectFlag(int pickIndex)
pickIndex
- Picking index. Zero is the front flag (highest
Z-order), and getGroupCount()-1 is the back flag (lowest Z-order).
public int getGroupCount()
public BooleanField.EventIn getActiveIn()
public ObjectField.EventIn getAddGroupIn()
public NotifyNode.EventIn getRemoveGroupIn()
public InteractorField.EventIn getToFrontIn()
public NotifyNode.EventIn getToBackIn()
public InteractorField.EventIn getAddIn()
public InteractorField.EventIn getRemoveIn()
public NotifyNode.EventIn getClearIn()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |