Module com.iamsoft.util.ui
Package com.iamsoft.util.ui.swing.action
Class ToggleComponentVisibilityAction
java.lang.Object
javax.swing.AbstractAction
com.iamsoft.util.ui.swing.action.ToggleComponentVisibilityAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
ToggleToolBarVisibilityAction
Toggle display of component.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent pEvt) voidcommit()protected PreferencesStorage location for visibility information.voidrestore()Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ToggleComponentVisibilityAction
-
-
Method Details
-
getPreferences
Storage location for visibility information. If null, changes are not persisted. By default, returns node specific to mComponent's classname. -
commit
public void commit() -
restore
public void restore() -
actionPerformed
-