javax.swing.text
Class InternationalFormatter.IncrementAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjavax.swing.text.InternationalFormatter.IncrementAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Enclosing class:
InternationalFormatter

private class InternationalFormatter.IncrementAction
extends AbstractAction

IncrementAction is used to increment the value by a certain amount. It calls into adjustValue to handle the actual incrementing of the value.


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  int direction
           
 
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
 
Constructor Summary
(package private) InternationalFormatter.IncrementAction(String name, int direction)
           
 
Method Summary
 void actionPerformed(ActionEvent ae)
          Invoked when an action occurs.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

direction

private int direction
Constructor Detail

InternationalFormatter.IncrementAction

InternationalFormatter.IncrementAction(String name,
                                       int direction)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
Description copied from interface: ActionListener
Invoked when an action occurs.