|
|||||||||||
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.UnityManager
Manages the membership of graphic views in "unity groups" to achieve consistent interaction feedback across views. The members of a unity group represent different views of the same client data, as define by the data model client ID. For example, a given vertex selected in a 2D graph view should also appear selected in its 3D graph view.
The graphic views registered with this manager are assigned to mutually exclusive interactor groups according to their client ID. A pick mapper maps input picks to output unity groups accordingly. Thus, picking a target interactor (graphic view) effectively picks all the graphic views associated with the target's client ID. As such, this manager should be used at the head of the picking chain.
Constructor Summary | |
UnityManager()
Creates an instance as the head mapper in a picking chain. |
Method Summary | |
void |
addGraphic(GraphicView view)
|
InteractorField.EventIn |
getPickIn()
The input pick. |
InteractorField.EventOut |
getPickOut()
The output pick, which is the input pick or a managed interactor group corresponding to the input pick's client ID. |
void |
removeGraphic(GraphicView view)
|
Methods inherited from class gumbo.visualize.data.consistency.IdManager |
findInputPick, findOutputPick, getOutputPickMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UnityManager()
Method Detail |
public final void addGraphic(GraphicView view)
public final void removeGraphic(GraphicView view)
public InteractorField.EventIn getPickIn()
IdManager
getPickIn
in interface PickMapper
getPickIn
in class IdManager
public InteractorField.EventOut getPickOut()
IdManager
getPickOut
in interface PickMapper
getPickOut
in class IdManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |