Public Member Functions | Package Attributes
com.phidgets.event.CodeEvent Class Reference

List of all members.

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

Detailed Description

This class represents the data for a CodeEvent.

Author:
Phidgets Inc.

Definition at line 15 of file CodeEvent.java.


Constructor & Destructor Documentation

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.

Parameters:
sourcethe Phidget object from which this event originated
codethe IR code
repeatwhether the code is a repeat

Definition at line 28 of file CodeEvent.java.


Member Function Documentation

Returns the code.

Returns:
the code

Definition at line 51 of file CodeEvent.java.

Returns the repeat identifier.

Returns:
whether this is a repeat

Definition at line 60 of file CodeEvent.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.

Returns:
the event caller

Definition at line 42 of file CodeEvent.java.

Returns a string containing information about the event.

Returns:
an informative event string

Definition at line 69 of file CodeEvent.java.


Member Data Documentation

Definition at line 18 of file CodeEvent.java.

Definition at line 19 of file CodeEvent.java.

Definition at line 17 of file CodeEvent.java.


The documentation for this class was generated from the following file:


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:23