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

List of all members.

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

Detailed Description

This class represents the data for a CurrentUpdateEvent.

Author:
Phidgets Inc.

Definition at line 14 of file CurrentUpdateEvent.java.


Constructor & Destructor Documentation

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.

Parameters:
sourcethe Phidget object from which this event originated

Definition at line 25 of file CurrentUpdateEvent.java.


Member Function Documentation

Returns the index of the motor.

Returns:
the index of the motor

Definition at line 48 of file CurrentUpdateEvent.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 39 of file CurrentUpdateEvent.java.

Returns the current of the motor. This is a representation of the amount of current being used by the motor.

Returns:
the motor's current draw

Definition at line 57 of file CurrentUpdateEvent.java.

Returns a string containing information about the event.

Returns:
an informative event string

Definition at line 66 of file CurrentUpdateEvent.java.


Member Data Documentation

Definition at line 17 of file CurrentUpdateEvent.java.

Definition at line 16 of file CurrentUpdateEvent.java.

Definition at line 18 of file CurrentUpdateEvent.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