Module com.iamsoft.util.ui
Package com.iamsoft.util.ui.swing.action
Class ToggleToolBarVisibilityAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.iamsoft.util.ui.swing.action.ToggleComponentVisibilityAction
-
- com.iamsoft.util.ui.swing.action.ToggleToolBarVisibilityAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class ToggleToolBarVisibilityAction extends ToggleComponentVisibilityAction
Main editor frame. Editor panel is instantiated first and then menu/tool bars. Frame not be set as visible in constructor because its contents may be usurped by an applet instead.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description ToggleToolBarVisibilityAction(JToolBar pToolBar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent pEvt)
void
commit()
void
restore()
-
Methods inherited from class com.iamsoft.util.ui.swing.action.ToggleComponentVisibilityAction
getPreferences
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
ToggleToolBarVisibilityAction
public ToggleToolBarVisibilityAction(JToolBar pToolBar)
-
-
Method Detail
-
restore
public void restore()
- Overrides:
restore
in classToggleComponentVisibilityAction
-
commit
public void commit()
- Overrides:
commit
in classToggleComponentVisibilityAction
-
actionPerformed
public void actionPerformed(ActionEvent pEvt)
- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classToggleComponentVisibilityAction
-
-