Public Member Functions | |
EncoderPositionUpdateEvent (Phidget source, int index, int value) | |
int | getIndex () |
Phidget | getSource () |
int | getValue () |
String | toString () |
Package Attributes | |
int | index |
Phidget | source |
int | value |
This class represents the data for a EncoderPositionUpdateEvent.
Definition at line 14 of file EncoderPositionUpdateEvent.java.
com.phidgets.event.EncoderPositionUpdateEvent.EncoderPositionUpdateEvent | ( | Phidget | source, |
int | index, | ||
int | value | ||
) | [inline] |
Class constructor. This is called internally by the Phidget library when creating this event.
source | the Phidget object from which this event originated |
Definition at line 25 of file EncoderPositionUpdateEvent.java.
int com.phidgets.event.EncoderPositionUpdateEvent.getIndex | ( | ) | [inline] |
Returns the index of the encoder.
Definition at line 49 of file EncoderPositionUpdateEvent.java.
Returns the source Phidget of this event. This is a reference to the Phidget object from which this event was called. This object can be cast into a specific type of Phidget object to call specific device calls on it.
Definition at line 40 of file EncoderPositionUpdateEvent.java.
int com.phidgets.event.EncoderPositionUpdateEvent.getValue | ( | ) | [inline] |
Returns the position change of the encoder. This is the amount of change in the encoder's position since the last EncoderPositionUpdateEvent.
Definition at line 59 of file EncoderPositionUpdateEvent.java.
String com.phidgets.event.EncoderPositionUpdateEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 68 of file EncoderPositionUpdateEvent.java.
int com.phidgets.event.EncoderPositionUpdateEvent.index [package] |
Definition at line 17 of file EncoderPositionUpdateEvent.java.
Definition at line 16 of file EncoderPositionUpdateEvent.java.
int com.phidgets.event.EncoderPositionUpdateEvent.value [package] |
Definition at line 18 of file EncoderPositionUpdateEvent.java.