dbrown
Class RTButtonView.HeightListener

java.lang.Object
  extended by dbrown.RTButtonView.HeightListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
RTButtonView

private class RTButtonView.HeightListener
extends java.lang.Object
implements java.awt.event.ActionListener

An inner class that uses an ActionListener to access the buttons. It sets the model values when the button is pressed.


Field Summary
private  int direction
          Determines whether values are incremented (+) or decremented (-).
 
Constructor Summary
RTButtonView.HeightListener(int direction)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

direction

private int direction
Determines whether values are incremented (+) or decremented (-).

Constructor Detail

RTButtonView.HeightListener

public RTButtonView.HeightListener(int direction)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener