ch.randelshofer.quaqua
Class QuaquaTreeUI.TreeHomeAction
java.lang.Object
javax.swing.AbstractAction
ch.randelshofer.quaqua.QuaquaTreeUI.TreeHomeAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Enclosing class:
- QuaquaTreeUI
public class QuaquaTreeUI.TreeHomeAction
- extends javax.swing.AbstractAction
TreeHomeAction is used to handle end/home actions.
Scrolls either the first or last cell to be visible based on
direction.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
direction
protected int direction
QuaquaTreeUI.TreeHomeAction
public QuaquaTreeUI.TreeHomeAction(int direction,
java.lang.String name)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface javax.swing.Action
- Overrides:
isEnabled
in class javax.swing.AbstractAction