|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.CompositeGroupOperations
The CompositeGroupOperations class provides a set of
functionalities when working with CompositeGroup objects.
| Method Summary | |
static java.util.Map |
recursiveEventDisable_AttributesChanged(CompositeGroup compositegroup)
|
static java.util.Map |
recursiveEventDisable_SelectionChange(CompositeGroup compositegroup)
Recursively disables selection-change events and returns a Map that is filled with Lists of the currently
selected BaseComposite objects.
|
static void |
recursiveEventEnable_AttributesChanged(CompositeGroup compositegroup,
java.util.Map mappedStatesOld)
|
static void |
recursiveEventEnable_SelectionChange(CompositeGroup compositegroup,
java.util.Map mappedSelectionOld)
Recursively enables beforehand disabled selection-change events and raises those events if a corresponding List with the old
selected BaseComposite objects can be found in the
Map given by mappedSelectionOld.
|
static void |
recursiveSelection(CompositeGroup compositegroup,
boolean selection)
Recursively sets all the BaseComposite objects that are contained
in the specified CompositeGroup to the desired
selection-state.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final java.util.Map recursiveEventDisable_SelectionChange(CompositeGroup compositegroup)
Recursively disables selection-change events and returns a
Map that is filled with Lists of the currently
selected BaseComposite objects.
The returned Map is organized such that a certain
BaseCompositeContainer instance is the key for its
List of former selected BaseComposite objects.
If the selection-change event was disabled beforehand no entry is
created in the Map.
compositegroup - the CompositeGroup to process.
Map filled with Lists of the
currently selected BaseComposite objects.recursiveEventEnable_SelectionChange(CompositeGroup, Map)
public static final void recursiveEventEnable_SelectionChange(CompositeGroup compositegroup,
java.util.Map mappedSelectionOld)
Recursively enables beforehand disabled selection-change events and
raises those events if a corresponding List with the old
selected BaseComposite objects can be found in the
Map given by mappedSelectionOld.
The Map should be organized such that the
BaseCompositeContainer instance is the key for the
List of former selected BaseComposite objects.
compositegroup - the CompositeGroup to process.mappedSelectionOld - used to find the List with the
former selected BaseComposite objects of a certain
BaseCompositeContainer.CompositeViewOperations.recursiveEventDisable_SelectionChange(CompositeView)
public static final void recursiveSelection(CompositeGroup compositegroup,
boolean selection)
Recursively sets all the BaseComposite objects that are contained
in the specified CompositeGroup to the desired
selection-state.
BaseComposite objects that are nested in embedded
BaseCompositeContainer objects are processed as well.
compositegroup - the CompositeGroup to process.recursiveEventDisable_SelectionChange(CompositeGroup),
recursiveEventEnable_SelectionChange(CompositeGroup, Map)public static final java.util.Map recursiveEventDisable_AttributesChanged(CompositeGroup compositegroup)
public static final void recursiveEventEnable_AttributesChanged(CompositeGroup compositegroup,
java.util.Map mappedStatesOld)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||