|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swt.control.attributetree.SwtAttributeTreeStateManager
This class manages the different states of an SwtAttributeTree. Therefore it provides useful methods to store and restore states depending on the currently selected attribute sets
| Constructor Summary | |
SwtAttributeTreeStateManager(SwtAttributeTree attrTree)
Constructs an SwtAttributeTreeStateManager instance corresponding to the given SwtAttributeTree |
|
| Method Summary | |
boolean |
containsState(AttributableOnSet attributable)
Checks if the state of the given AttributableOnSet instance was stored before. |
void |
restoreEditorState(AttributableOnSet attributable)
Restores the state for the given AttributableOnSet when it
is assigned to the AttributeEditor. |
void |
storeEditorState(AttributableOnSet attributable)
Stores the state for the given AttributableOnSet when it is
removed from the AttributeEditor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtAttributeTreeStateManager(SwtAttributeTree attrTree)
attrTree - an SwtAttributeTree instance which states should be
managed| Method Detail |
public final void storeEditorState(AttributableOnSet attributable)
AttributeEditorStateManagerAttributableOnSet when it is
removed from the AttributeEditor.
storeEditorState in interface AttributeEditorStateManagerattributable - The item to store the state for, might be nullpublic final void restoreEditorState(AttributableOnSet attributable)
AttributeEditorStateManagerAttributableOnSet when it
is assigned to the AttributeEditor.
restoreEditorState in interface AttributeEditorStateManagerattributable - The item to restore the state for, might be nullpublic final boolean containsState(AttributableOnSet attributable)
attributable - an AttributableOnSet instance defining a state
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||