public class

BasicTreeUI.TreeHomeAction

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

Class Overview

TreeHomeAction is used to handle end/home actions. Scrolls either the first or last cell to be visible based on direction.

Summary

[Expand]
Inherited Constants
From interface javax.swing.Action
Fields
protected int direction
[Expand]
Inherited Fields
From class javax.swing.AbstractAction
Public Constructors
BasicTreeUI.TreeHomeAction(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

Public Constructors

public BasicTreeUI.TreeHomeAction (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