dsto.dfc.swing.controls
Class NumericSpinner.ButtonChangeListener

java.lang.Object
  extended by dsto.dfc.swing.controls.NumericSpinner.ButtonChangeListener
All Implemented Interfaces:
ActionListener, Serializable, EventListener, ChangeListener
Enclosing class:
NumericSpinner

protected class NumericSpinner.ButtonChangeListener
extends Object
implements ChangeListener, ActionListener, Serializable

Listens for changes to the arrow button models and timer ticks that signal auto repeats when buttons are held down.

See Also:
Serialized Form

Field Summary
protected  Timer autoRepeatTimer
           
protected  int currentIncrement
           
 
Constructor Summary
NumericSpinner.ButtonChangeListener()
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 void stateChanged(ChangeEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

autoRepeatTimer

protected Timer autoRepeatTimer

currentIncrement

protected int currentIncrement
Constructor Detail

NumericSpinner.ButtonChangeListener

public NumericSpinner.ButtonChangeListener()
Method Detail

stateChanged

public void stateChanged(ChangeEvent event)
Specified by:
stateChanged in interface ChangeListener

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2008 Commonwealth of Australia