Class ToolboxStateManager
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.toolbox.ToolboxStateManager
-
public class ToolboxStateManager extends Object
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 Modifier and Type Class Description static class
ToolboxStateManager.Strategy
-
Constructor Summary
Constructors Constructor Description ToolboxStateManager(ToolboxDialog toolbox)
ToolboxStateManager(ToolboxDialog toolbox, Map customComponentClassToStrategyMap)
-
-
-
Constructor Detail
-
ToolboxStateManager
public ToolboxStateManager(ToolboxDialog toolbox)
-
ToolboxStateManager
public ToolboxStateManager(ToolboxDialog toolbox, Map customComponentClassToStrategyMap)
-
-