Public Member Functions | |
| int | getIndex () |
| Phidget | getSource () |
| boolean | getState () |
| InputChangeEvent (Phidget source, int index, boolean state) | |
| String | toString () |
Package Attributes | |
| int | index |
| Phidget | source |
| boolean | state |
This class represents the data for a InputChangeEvent.
Definition at line 14 of file InputChangeEvent.java.
| com.phidgets.event.InputChangeEvent.InputChangeEvent | ( | Phidget | source, |
| int | index, | ||
| boolean | state | ||
| ) | [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 InputChangeEvent.java.
| int com.phidgets.event.InputChangeEvent.getIndex | ( | ) | [inline] |
Returns the index of the digital input.
Definition at line 47 of file InputChangeEvent.java.
| Phidget com.phidgets.event.InputChangeEvent.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 InputChangeEvent.java.
| boolean com.phidgets.event.InputChangeEvent.getState | ( | ) | [inline] |
Returns the state of the input. True indicates that it is activated, False indicated the default state.
Definition at line 56 of file InputChangeEvent.java.
| String com.phidgets.event.InputChangeEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 65 of file InputChangeEvent.java.
int com.phidgets.event.InputChangeEvent.index [package] |
Definition at line 17 of file InputChangeEvent.java.
Definition at line 16 of file InputChangeEvent.java.
boolean com.phidgets.event.InputChangeEvent.state [package] |
Definition at line 18 of file InputChangeEvent.java.