edu.bu.qsad.app.shooter
Class ScalarEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--edu.bu.qsad.app.shooter.ScalarEvent
All Implemented Interfaces:
java.io.Serializable

public class ScalarEvent
extends java.util.EventObject

user interface event handler.

See Also:
Serialized Form

Field Summary
protected  boolean dragging
          the state of the settor, whether or not dragging is taking place.
protected  double value
          The scale value.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ScalarEvent(java.lang.Object source, double v)
           
ScalarEvent(java.lang.Object source, double v, boolean dragging)
           
 
Method Summary
 double getValue()
           
 boolean isDragging()
           
 void setValue(double d)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected double value
The scale value.


dragging

protected boolean dragging
the state of the settor, whether or not dragging is taking place.

Constructor Detail

ScalarEvent

public ScalarEvent(java.lang.Object source,
                   double v)

ScalarEvent

public ScalarEvent(java.lang.Object source,
                   double v,
                   boolean dragging)
Method Detail

setValue

public void setValue(double d)

getValue

public double getValue()

isDragging

public boolean isDragging()