public class BasicTreeUI.TreeToggleAction extends javax.swing.AbstractAction
| Constructor and Description |
|---|
BasicTreeUI.TreeToggleAction(java.lang.String name)
Creates a new TreeToggleAction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
|
boolean |
isEnabled()
Returns true if the action is enabled.
|
public BasicTreeUI.TreeToggleAction(java.lang.String name)
name - is the name of Action fieldpublic void actionPerformed(java.awt.event.ActionEvent e)
e - the event that occuredpublic boolean isEnabled()
isEnabled in interface javax.swing.ActionisEnabled in class javax.swing.AbstractActionAbstractAction.setEnabled(boolean)