java.lang.Object
javax.swing.AbstractAction
javax.swing.plaf.basic.BasicTreeUI.TreeHomeAction
- All Implemented Interfaces:
- ActionListener,- Serializable,- Cloneable,- EventListener,- Action
- Enclosing class:
- BasicTreeUI
public class BasicTreeUI.TreeHomeAction extends AbstractAction
TreeHomeAction is used to handle end/home actions.
 Scrolls either the first or last cell to be visible based on
 direction.
- 
Field SummaryFields Modifier and Type Field Description protected intdirectionThe direction.Fields declared in interface javax.swing.ActionACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
- 
Constructor SummaryConstructors Constructor Description TreeHomeAction(int direction, String name)Constructs a new instance ofTreeHomeAction.
- 
Method SummaryMethods declared in class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
- 
Field Details- 
directionprotected int directionThe direction.
 
- 
- 
Constructor Details- 
TreeHomeActionConstructs a new instance ofTreeHomeAction.- Parameters:
- direction- the direction
- name- the name of action
 
 
-