de.jaetzold.art
Class SensorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--de.jaetzold.util.EventBase
              |
              +--de.jaetzold.art.SensorEvent
All Implemented Interfaces:
Event, Serializable

public class SensorEvent
extends EventBase

See Also:
Serialized Form

Field Summary
protected  SensorEventDescriptor eventDescriptor
           
protected  Object propagationId
           
protected  long timestamp
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SensorEvent(Object source, SensorEventDescriptor descriptor, long timestamp, double oldDoubleValue, double newDoubleValue, boolean isFloatingPoint, Object propagationId)
           
 
Method Summary
 boolean equals(Object o)
           
 SensorEventDescriptor getEventDescriptor()
           
 int getIntValue()
           
 long getNewIntValue()
           
 double getNewValue()
           
 int getOldIntValue()
           
 double getOldValue()
           
 Object getPropagationId()
           
 long getTimestamp()
           
 double getValue()
           
 boolean isFloatingPoint()
           
 String toString()
           
 
Methods inherited from class de.jaetzold.util.EventBase
process
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.jaetzold.util.Event
getSource
 

Field Detail

timestamp

protected long timestamp

eventDescriptor

protected SensorEventDescriptor eventDescriptor

propagationId

protected Object propagationId
Constructor Detail

SensorEvent

public SensorEvent(Object source,
                   SensorEventDescriptor descriptor,
                   long timestamp,
                   double oldDoubleValue,
                   double newDoubleValue,
                   boolean isFloatingPoint,
                   Object propagationId)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getIntValue

public int getIntValue()

getValue

public double getValue()

getNewIntValue

public long getNewIntValue()

getNewValue

public double getNewValue()

getOldIntValue

public int getOldIntValue()

getOldValue

public double getOldValue()

isFloatingPoint

public boolean isFloatingPoint()

getTimestamp

public long getTimestamp()

getEventDescriptor

public SensorEventDescriptor getEventDescriptor()

getPropagationId

public Object getPropagationId()

toString

public String toString()
Overrides:
toString in class EventObject