javax.swing.plaf.basic
public class BasicTreeUI.TreeTraverseAction extends AbstractAction
| Field Summary | |
|---|---|
| protected int | direction
Determines direction to traverse, 1 means expand, -1 means collapse. |
| Constructor Summary | |
|---|---|
| TreeTraverseAction(int direction, String name)
Constructor
| |
| Method Summary | |
|---|---|
| void | actionPerformed(ActionEvent e)
Invoked when an action occurs.
|
| boolean | isEnabled()
Returns true if the action is enabled.
|
Parameters: direction to traverse name is the name of the direction
Parameters: e the event that occured
Returns: true if the action is enabled, false otherwise