javax.swing.plaf.basic
public class BasicTreeUI.TreeToggleAction extends AbstractAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
BasicTreeUI.TreeToggleAction(String name)
Creates a new TreeToggleAction.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs.
|
boolean |
isEnabled()
Returns true if the action is enabled.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
public BasicTreeUI.TreeToggleAction(String name)
name
- is the name of Action
fieldpublic void actionPerformed(ActionEvent e)
e
- the event that occuredpublic boolean isEnabled()
isEnabled
in interface Action
isEnabled
in class AbstractAction
AbstractAction.setEnabled(boolean)