Quaqua 7.4.2 2011-07-05

ch.randelshofer.quaqua
Class QuaquaTreeUI.TreeHomeAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by 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

Field Summary
protected  int direction
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
QuaquaTreeUI.TreeHomeAction(int direction, java.lang.String name)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 boolean isEnabled()
           
 
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
 

Field Detail

direction

protected int direction
Constructor Detail

QuaquaTreeUI.TreeHomeAction

public QuaquaTreeUI.TreeHomeAction(int direction,
                                   java.lang.String name)
Method Detail

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

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.