|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phidgets.Phidget
com.phidgets.TextLEDPhidget
public final class TextLEDPhidget
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.
| Constructor Summary | |
|---|---|
TextLEDPhidget()
|
|
| Method Summary | |
|---|---|
int |
getBrightness()
Returns the bringhtness. |
int |
getColumnCount()
Returns the number of columns (Characters per row). |
int |
getRowCount()
Returns the number of rows. |
void |
setBrightness(int brightness)
Sets the brightness of all rows. |
void |
setDisplayString(int index,
java.lang.String text)
Sets the display string of a certain row. |
| Methods inherited from class com.phidgets.Phidget |
|---|
addAttachListener, addDetachListener, addErrorListener, close, equals, getDeviceName, getDeviceType, getDeviceVersion, getLibraryVersion, getSerialNumber, getTag, isAttached, open, openAny, removeAttachListener, removeDetachListener, removeErrorListener, setTag, toString, waitForAttachment |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextLEDPhidget()
throws PhidgetException
PhidgetException| Method Detail |
|---|
public int getRowCount()
throws PhidgetException
PhidgetException - If this Phidget is not opened and attached.
See open for information on determining if a device is attached.
public int getColumnCount()
throws PhidgetException
PhidgetException - If this Phidget is not opened and attached.
See open for information on determining if a device is attached.
public int getBrightness()
throws PhidgetException
PhidgetException - If this Phidget is not opened and attached.
See open for information on determining if a device is attached.
public void setBrightness(int brightness)
throws PhidgetException
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.
public void setDisplayString(int index,
java.lang.String text)
throws PhidgetException
index - Rowtext - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||