jaron.components
Class SignalEvent

java.lang.Object
  extended by java.util.EventObject
      extended by jaron.components.SignalEvent
All Implemented Interfaces:
java.io.Serializable

public class SignalEvent
extends java.util.EventObject

The SignalEvent class is the transportation vehicle for a signal value that is sent from or sent to a Signal object via the EventListener mechanism.

Since:
1.0
Version:
1.2
Author:
jarontec gmail com
See Also:
Serialized Form

Constructor Summary
SignalEvent(java.lang.Object source, double value)
          Creates a SignalEvent object that can be sent via the EventListener mechanism.
 
Method Summary
 double getValue()
          Returns the event's value.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignalEvent

public SignalEvent(java.lang.Object source,
                   double value)
Creates a SignalEvent object that can be sent via the EventListener mechanism.

Parameters:
source - the event notifier
value - the changed value
Method Detail

getValue

public double getValue()
Returns the event's value.

Returns:
the event's value