Class ToolboxStateManager
java.lang.Object
com.vividsolutions.jump.workbench.ui.toolbox.ToolboxStateManager
Stores the state of the component and its descendants on the Blackboard of
the LayerManager (if any) of the current JInternalFrame. Thus, when the
user switches JInternalFrames, the component will change its state to reflect
the new context.
Designed to be trivial to use: simply instantiate one if you want to use one. (Make sure the toolbox's Components are initialized first). Note that not all Components are supported; currently the ToolboxStateManager will save the state for the following components only: JTextComponent, JToggleButton (including JCheckBox), JComboBox.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionToolboxStateManager(ToolboxDialog toolbox) ToolboxStateManager(ToolboxDialog toolbox, Map customComponentClassToStrategyMap) -
Method Summary
-
Constructor Details
-
ToolboxStateManager
-
ToolboxStateManager
-