Public Member Functions | |
CurrentUpdateEvent (Phidget source, int index, double value) | |
int | getIndex () |
Phidget | getSource () |
double | getValue () |
String | toString () |
Package Attributes | |
int | index |
Phidget | source |
double | value |
This class represents the data for a CurrentUpdateEvent.
Definition at line 14 of file CurrentUpdateEvent.java.
com.phidgets.event.CurrentUpdateEvent.CurrentUpdateEvent | ( | Phidget | source, |
int | index, | ||
double | 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 CurrentUpdateEvent.java.
int com.phidgets.event.CurrentUpdateEvent.getIndex | ( | ) | [inline] |
Returns the index of the motor.
Definition at line 48 of file CurrentUpdateEvent.java.
Phidget com.phidgets.event.CurrentUpdateEvent.getSource | ( | ) | [inline] |
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 39 of file CurrentUpdateEvent.java.
double com.phidgets.event.CurrentUpdateEvent.getValue | ( | ) | [inline] |
Returns the current of the motor. This is a representation of the amount of current being used by the motor.
Definition at line 57 of file CurrentUpdateEvent.java.
String com.phidgets.event.CurrentUpdateEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 66 of file CurrentUpdateEvent.java.
int com.phidgets.event.CurrentUpdateEvent.index [package] |
Definition at line 17 of file CurrentUpdateEvent.java.
Definition at line 16 of file CurrentUpdateEvent.java.
double com.phidgets.event.CurrentUpdateEvent.value [package] |
Definition at line 18 of file CurrentUpdateEvent.java.