|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.control.attributetree.DefaultSwingAttributeTreeStateManager
This implementation of the AttributeEditorStateManager. It will store the
expanded nodes and the selection to restore it when the item is selected in the
SwingAttributeTree again.
| Constructor Summary | |
DefaultSwingAttributeTreeStateManager(SwingAttributeTree tree)
Constructor |
|
| Method Summary | |
boolean |
isAutoExpandNewPaths()
Returns true if new paths in the AttributeSets of the
Attributables should be expanded automatically. |
boolean |
isAutoExpandSelectedRow()
Returns true, if the selected row will be automatically expanded |
boolean |
isUsingExactMatching()
Returns true, if states are stored for each specific instance of an AttributableOnSet. |
void |
restoreEditorState(AttributableOnSet attributable)
Restores the state for the given AttributableOnSet when it
is assigned to the AttributeEditor. |
void |
setAutoExpandNewPaths(boolean autoExpandNewPaths)
Enables/disables the automatic expansion of newly added attribute paths. |
void |
setAutoExpandSelectedRow(boolean autoExpandSelectedRow)
Sets the autoexpand feature for selected rows. |
void |
storeEditorState(AttributableOnSet attributable)
Stores the state for the given AttributableOnSet when it is
removed from the AttributeEditor. |
void |
useExactMatching(boolean useExactMatching)
Turns on/off the exact matching of AttributableOnSets. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultSwingAttributeTreeStateManager(SwingAttributeTree tree)
tree - The SwingAttributeTree this manager belongs to| Method Detail |
public 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 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 boolean isAutoExpandSelectedRow()
public void setAutoExpandSelectedRow(boolean autoExpandSelectedRow)
autoExpandSelectedRow - true, if the selected rows
should be automatically expandedpublic boolean isUsingExactMatching()
AttributableOnSet.
AttributableOnSet.public void useExactMatching(boolean useExactMatching)
AttributableOnSets.
useExactMatching - true, to enable the exact matching of
AttributableOnSetspublic boolean isAutoExpandNewPaths()
AttributeSets of the
Attributables should be expanded automatically.
AttributeSets of the
Attributables should be expanded automatically.public void setAutoExpandNewPaths(boolean autoExpandNewPaths)
Attributable, so it might take some time and memory.
autoExpandNewPaths - true to enable automatic expanding of
new paths
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||