public class

BasicTreeUI.TreeIncrementAction

extends AbstractAction
java.lang.Object
   ↳ javax.swing.AbstractAction
     ↳ javax.swing.plaf.basic.BasicTreeUI.TreeIncrementAction

Class Overview

TreeIncrementAction is used to handle up/down actions. Selection is moved up or down based on direction.

Summary

[Expand]
Inherited Constants
From interface javax.swing.Action
Fields
protected int direction Specifies the direction to adjust the selection by.
[Expand]
Inherited Fields
From class javax.swing.AbstractAction
Public Constructors
BasicTreeUI.TreeIncrementAction(int direction, String name)
Public Methods
void actionPerformed(ActionEvent e)
boolean isEnabled()
Returns true if the action is enabled.
[Expand]
Inherited Methods
From class javax.swing.AbstractAction
From class java.lang.Object
From interface java.awt.event.ActionListener
From interface javax.swing.Action

Fields

protected int direction

Specifies the direction to adjust the selection by.

Public Constructors

public BasicTreeUI.TreeIncrementAction (int direction, String name)

Public Methods

public void actionPerformed (ActionEvent e)

public boolean isEnabled ()

Returns true if the action is enabled.

Returns
  • true if the action is enabled, false otherwise