Public Member Functions | Private Member Functions | Static Private Member Functions
com.phidgets.TextLEDPhidget Class Reference
Inheritance diagram for com.phidgets.TextLEDPhidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

native int getBrightness () throws PhidgetException
native int getColumnCount () throws PhidgetException
native int getRowCount () throws PhidgetException
native void setBrightness (int brightness) throws PhidgetException
native void setDisplayString (int index, String text) throws PhidgetException
 TextLEDPhidget () throws PhidgetException

Private Member Functions

final void enableDeviceSpecificEvents (boolean b)

Static Private Member Functions

static native long create () throws PhidgetException

Detailed Description

This class represents a Phidget Text LED. All methods to control the Text LED are implemented in this class.

The Text LED is a Phidget that displays text and numerals on LED numeric display in rows. The number of rows and size of each row depends on your configuration.

Author:
Phidgets Inc.

Definition at line 20 of file TextLEDPhidget.java.


Constructor & Destructor Documentation

Definition at line 22 of file TextLEDPhidget.java.


Member Function Documentation

static native long com.phidgets.TextLEDPhidget.create ( ) throws PhidgetException [static, private]
final void com.phidgets.TextLEDPhidget.enableDeviceSpecificEvents ( boolean  b) [inline, private]

Reimplemented from com.phidgets.Phidget.

Definition at line 65 of file TextLEDPhidget.java.

Returns the bringhtness. This is the brightneww of all rows. The Default brightness is 100.

Returns:
brightness
Exceptions:
PhidgetExceptionIf this Phidget is not opened and attached. See open for information on determining if a device is attached.

Returns the number of columns (Characters per row). This returns the maximum number of columns supported by the device, not neccessarily the number of columns actually available with your coniguration.

Returns:
columns
Exceptions:
PhidgetExceptionIf this Phidget is not opened and attached. See open for information on determining if a device is attached.

Returns the number of rows. This returns the maximum number of rows supported by the device, not neccessarily the number of rows actually available with your coniguration.

Returns:
rows
Exceptions:
PhidgetExceptionIf this Phidget is not opened and attached. See open for information on determining if a device is attached.

Sets the brightness of all rows. The valid range is 0-100.

Parameters:
brightnessbrightness
Exceptions:
PhidgetExceptionIf this Phidget is not opened and attached, or the brightness value is out of range. See open for information on determining if a device is attached.
native void com.phidgets.TextLEDPhidget.setDisplayString ( int  index,
String  text 
) throws PhidgetException

Sets the display string of a certain row. If the string is longer then the row, it will be truncated.

Parameters:
indexRow
textString
Exceptions:
PhidgetExceptionIf this Phidget is not opened and attached, or if the row is out of range. See open for information on determining if a device is attached.

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