Quaqua 7.4.2 2011-07-05

ch.randelshofer.quaqua
Class QuaquaTreeUI.TreeIncrementAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ch.randelshofer.quaqua.QuaquaTreeUI.TreeIncrementAction
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.TreeIncrementAction
extends javax.swing.AbstractAction

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

See Also:
Serialized Form

Field Summary
protected  int direction
          Specifies the direction to adjust the selection by.
 
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.TreeIncrementAction(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
Specifies the direction to adjust the selection by.

Constructor Detail

QuaquaTreeUI.TreeIncrementAction

public QuaquaTreeUI.TreeIncrementAction(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.