com.instantbank.common.uiutils
Class DeltaDialog.UpDownAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.instantbank.common.uiutils.DeltaDialog.UpDownAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
DeltaDialog

class DeltaDialog.UpDownAction
extends javax.swing.AbstractAction

Auxiliary class. Allows to define simetric behavior for the Up and Down spinning buttons.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
javax.swing.AbstractAction.ArrayTable
 
Field Summary
private  int direction
           
 
Fields inherited from class javax.swing.AbstractAction
arrayTable, changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DeltaDialog.UpDownAction(int dir)
          UpDownAction constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Common (simetric) action bound to the Up and Down spinning buttons.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

direction

private int direction
Constructor Detail

DeltaDialog.UpDownAction

public DeltaDialog.UpDownAction(int dir)
UpDownAction constructor.
Parameters:
dir - Direction for the action (UP, DOWN).
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Common (simetric) action bound to the Up and Down spinning buttons.
Overrides:
actionPerformed in class javax.swing.AbstractAction
Parameters:
e - Description of the Parameter