Public Member Functions | |
int | getIndex () |
Phidget | getSource () |
double | getValue () |
StepperPositionChangeEvent (Phidget source, int index, long value) | |
String | toString () |
Package Attributes | |
int | index |
Phidget | source |
long | value |
This class represents the data for a StepperPositionChangeEvent.
Definition at line 14 of file StepperPositionChangeEvent.java.
com.phidgets.event.StepperPositionChangeEvent.StepperPositionChangeEvent | ( | Phidget | source, |
int | index, | ||
long | 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 StepperPositionChangeEvent.java.
int com.phidgets.event.StepperPositionChangeEvent.getIndex | ( | ) | [inline] |
Returns the index of the Stepper motor.
Definition at line 47 of file StepperPositionChangeEvent.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 38 of file StepperPositionChangeEvent.java.
double com.phidgets.event.StepperPositionChangeEvent.getValue | ( | ) | [inline] |
Returns the position of the Stepper motor. This is esentially just the last position that the Stepper was set to, echoed back from the controller board.
Definition at line 57 of file StepperPositionChangeEvent.java.
String com.phidgets.event.StepperPositionChangeEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 66 of file StepperPositionChangeEvent.java.
int com.phidgets.event.StepperPositionChangeEvent.index [package] |
Definition at line 17 of file StepperPositionChangeEvent.java.
Definition at line 16 of file StepperPositionChangeEvent.java.
long com.phidgets.event.StepperPositionChangeEvent.value [package] |
Definition at line 18 of file StepperPositionChangeEvent.java.