|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phidgets.event.SensorChangeEvent
public class 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 originated| Method Detail |
|---|
public Phidget getSource()
public int getIndex()
public int getValue()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||