javax.swing.plaf.basic
public class BasicTreeUI.TreeIncrementAction extends AbstractAction
Field Summary | |
---|---|
protected int | direction
Specifies the direction to adjust the selection by. |
Constructor Summary | |
---|---|
TreeIncrementAction(int dir, String name)
Creates a new TreeIncrementAction.
|
Method Summary | |
---|---|
void | actionPerformed(ActionEvent e)
Invoked when an action occurs.
|
boolean | isEnabled()
Returns true if the action is enabled.
|
Parameters: dir up or down, -1
for up, 1
for down name is the name of the direction
Parameters: e is the event that occured
Returns: true if the action is enabled.