|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--gumbo.visualize.data.consistency.IdManager
|
+--gumbo.visualize.data.consistency.AspectManager
Manages global aspect models as ordered selection groups, each with a corresponding AspectModelFlag. Intended for use at the tail of the picking chain so that picking a target interactor (graphic view) results in a pick of the frontmost aspect model that it belongs to.
Monitors aspect model activity (see AspectModel.getAspectModelMonitor()) to automatically update selection groups. Note that selection groups will not be created for aspect models that are of type ParityModel.
| Constructor Summary | |
AspectManager(IdManager target)
Creates an instance as the mapper after the target mapper in a picking chain. |
|
| Method Summary | |
void |
addGraphic(GraphicView view)
|
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()
Not supported. |
InteractorField.EventIn |
getAddIn()
Not supported. |
NotifyNode.EventIn |
getClearIn()
Not supported. |
int |
getGroupCount()
Gets the number of selection groups in this manager. |
protected java.util.Map |
getOutputPickMap()
Throws an exception, not yet implemented. |
InteractorField.EventIn |
getPickIn()
The input pick interactor. |
InteractorField.EventOut |
getPickOut()
The selection interactor group corresponding to the input pick client ID. |
NotifyNode.EventIn |
getRemoveGroupIn()
Clears and removes the front selection group. |
InteractorField.EventIn |
getRemoveIn()
Not supported. |
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. |
void |
removeGraphic(GraphicView view)
|
| Methods inherited from class gumbo.visualize.data.consistency.IdManager |
findInputPick, findOutputPick |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AspectManager(IdManager target)
target - The target manager. Never null.| Method Detail |
public final void addGraphic(GraphicView view)
public final void removeGraphic(GraphicView view)
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()
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()
getAddIn in interface SelectManagerpublic InteractorField.EventIn getRemoveIn()
getRemoveIn in interface SelectManagerpublic NotifyNode.EventIn getClearIn()
getClearIn in interface SelectManagerpublic InteractorField.EventIn getPickIn()
PickMapper
getPickIn in interface PickMappergetPickIn in class IdManagerpublic InteractorField.EventOut getPickOut()
getPickOut in interface PickMappergetPickOut in class IdManagerprotected java.util.Map getOutputPickMap()
getOutputPickMap in class IdManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||