Public Member Functions | |
BridgeDataEvent (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 BridgeDataEvent.
Definition at line 14 of file BridgeDataEvent.java.
com.phidgets.event.BridgeDataEvent.BridgeDataEvent | ( | 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 BridgeDataEvent.java.
int com.phidgets.event.BridgeDataEvent.getIndex | ( | ) | [inline] |
Returns the index of the bridge.
Definition at line 47 of file BridgeDataEvent.java.
Phidget com.phidgets.event.BridgeDataEvent.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 38 of file BridgeDataEvent.java.
double com.phidgets.event.BridgeDataEvent.getValue | ( | ) | [inline] |
Retuns the bridge value, in mV/V.
Definition at line 56 of file BridgeDataEvent.java.
String com.phidgets.event.BridgeDataEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 65 of file BridgeDataEvent.java.
int com.phidgets.event.BridgeDataEvent.index [package] |
Definition at line 17 of file BridgeDataEvent.java.
Definition at line 16 of file BridgeDataEvent.java.
double com.phidgets.event.BridgeDataEvent.value [package] |
Definition at line 18 of file BridgeDataEvent.java.