|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phidgets.event.EncoderPositionChangeEvent
This class represents the data for a EncoderPositionChangeEvent.
Constructor Summary | |
EncoderPositionChangeEvent(Phidget source,
int index,
int time,
int value)
Class constructor. |
Method Summary | |
int |
getIndex()
Returns the index of the encoder. |
Phidget |
getSource()
Returns the source Phidget of this event. |
int |
getTime()
Returns the timestamp of this position change. |
int |
getValue()
Returns the position change of the encoder. |
java.lang.String |
toString()
Returns a string containing information about the event. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EncoderPositionChangeEvent(Phidget source, int index, int time, int value)
source
- the Phidget object from which this event originatedMethod Detail |
public Phidget getSource()
public int getIndex()
public int getValue()
EncoderPositionChangeEvent(com.phidgets.Phidget, int, int, int)
.
public int getTime()
EncoderPositionChangeEvent(com.phidgets.Phidget, int, int, int)
.
This time is not represented in a real quantitly such as seconds, but can be used as a qualitative quantity.
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |