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 |
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.
Definition at line 20 of file TextLEDPhidget.java.
com.phidgets.TextLEDPhidget.TextLEDPhidget | ( | ) | throws PhidgetException [inline] |
Definition at line 22 of file TextLEDPhidget.java.
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.
native int com.phidgets.TextLEDPhidget.getBrightness | ( | ) | throws PhidgetException |
Returns the bringhtness. This is the brightneww of all rows. The Default brightness is 100.
PhidgetException | If this Phidget is not opened and attached. See open for information on determining if a device is attached. |
native int com.phidgets.TextLEDPhidget.getColumnCount | ( | ) | throws PhidgetException |
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.
PhidgetException | If this Phidget is not opened and attached. See open for information on determining if a device is attached. |
native int com.phidgets.TextLEDPhidget.getRowCount | ( | ) | throws PhidgetException |
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.
PhidgetException | If this Phidget is not opened and attached. See open for information on determining if a device is attached. |
native void com.phidgets.TextLEDPhidget.setBrightness | ( | int | brightness | ) | throws PhidgetException |
Sets the brightness of all rows. The valid range is 0-100.
brightness | brightness |
PhidgetException | If 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.
index | Row |
text | String |
PhidgetException | If 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. |