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 AbstractAction
changeSupport, enabledFields inherited from interface 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 TypeMethodDescriptionvoidvoidvoid(package private) voidMethods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ToggleAction
public ToggleAction()
-
-
Method Details
-
putValue
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
updateIcon
void updateIcon()
-