Public Member Functions | |
CodeEvent (Phidget source, IRCode code, boolean repeat) | |
IRCode | getCode () |
boolean | getRepeat () |
Phidget | getSource () |
String | toString () |
Package Attributes | |
IRCode | code |
boolean | repeat |
Phidget | source |
This class represents the data for a CodeEvent.
Definition at line 15 of file CodeEvent.java.
com.phidgets.event.CodeEvent.CodeEvent | ( | Phidget | source, |
IRCode | code, | ||
boolean | repeat | ||
) | [inline] |
Class constructor. This is called internally by the phidget library when creating this event.
source | the Phidget object from which this event originated |
code | the IR code |
repeat | whether the code is a repeat |
Definition at line 28 of file CodeEvent.java.
IRCode com.phidgets.event.CodeEvent.getCode | ( | ) | [inline] |
boolean com.phidgets.event.CodeEvent.getRepeat | ( | ) | [inline] |
Returns the repeat identifier.
Definition at line 60 of file CodeEvent.java.
Phidget com.phidgets.event.CodeEvent.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 42 of file CodeEvent.java.
String com.phidgets.event.CodeEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 69 of file CodeEvent.java.
IRCode com.phidgets.event.CodeEvent.code [package] |
Definition at line 18 of file CodeEvent.java.
boolean com.phidgets.event.CodeEvent.repeat [package] |
Definition at line 19 of file CodeEvent.java.
Phidget com.phidgets.event.CodeEvent.source [package] |
Definition at line 17 of file CodeEvent.java.