|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phidgets.event.SensorChangeEvent
This class represents the data for a SensorChangeEvent.
Constructor Summary | |
SensorChangeEvent(Phidget source,
int index,
int value)
Class constructor. |
Method Summary | |
int |
getIndex()
Returns the index of the sensor. |
Phidget |
getSource()
Returns the source Phidget of this event. |
int |
getValue()
Retuns the value of the sensor. |
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 SensorChangeEvent(Phidget source, int index, int value)
source
- the Phidget object from which this event originatedMethod Detail |
public Phidget getSource()
public int getIndex()
public int getValue()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |