Package org.jdesktop.swingx
Class JXCollapsiblePane.ToggleAction
java.lang.Object
javax.swing.AbstractAction
org.jdesktop.swingx.JXCollapsiblePane.ToggleAction
- All Implemented Interfaces:
ActionListener
,PropertyChangeListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
JXCollapsiblePane
private class JXCollapsiblePane.ToggleAction
extends AbstractAction
implements PropertyChangeListener
Toggles the JXCollapsiblePane state and updates its icon based on the
JXCollapsiblePane "collapsed" status.
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
(package private) void
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ToggleAction
public ToggleAction()
-
-
Method Details
-
putValue
- Specified by:
putValue
in interfaceAction
- Overrides:
putValue
in classAbstractAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
updateIcon
void updateIcon()
-