|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--Phidgets.Phidget | +--Phidgets.PhidgetTextLCD
The class PhidgetTextLCD
represents a Phidget Text LCD. All methods
to control the Text LCD are implemented in this class.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
PhidgetTextLCD()
|
Method Summary | |
void |
add_IPhidgetTextLCDEventsListener(_IPhidgetTextLCDEvents l)
Sets up the event handlers |
boolean |
GetBacklight()
Gets the status of the backlight |
boolean |
GetCursorBlink()
Gets the status of the cursor blink |
boolean |
GetCursorOn()
Gets the status of the cursor |
int |
GetNumColumns()
Gets the number of columns on the display |
int |
GetNumRows()
Gets the number of rows on the display |
int |
OpenRemote(int serverSerial,
int port,
int serialNumber,
java.lang.String pass)
Open the device when it is on the local network. |
int |
OpenRemoteIP(java.lang.String ip,
int port,
int serialNumber,
java.lang.String pass)
Open the device when it is on a remote network. |
void |
remove_IPhidgetTextLCDEventsListener()
Removes the events handlers |
void |
SetBacklight(boolean newVal)
Sets the backlight on or off |
void |
SetCursorBlink(boolean newVal)
Sets the cursor to blink or not |
void |
SetCursorOn(boolean newVal)
Sets the cursor on or off |
void |
SetDisplayString(int Row,
java.lang.String newVal)
Sets a display string to a certain row |
Methods inherited from class Phidgets.Phidget |
Close, equals, GetDeviceType, GetDeviceVersion, GetIsAttached, GetSerialNumber, GetServerAddress, GetServerID, GetServerPort, run, setDeviceType, setDeviceVersion, setSerialNumber |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PhidgetTextLCD()
Method Detail |
public int OpenRemote(int serverSerial, int port, int serialNumber, java.lang.String pass)
serverSerial
- Serial number of the server, or -1 for any serialport
- Server portserialNumber
- Serial number of the device or -1 for any serialpass
- Server passwordpublic int OpenRemoteIP(java.lang.String ip, int port, int serialNumber, java.lang.String pass)
ip
- IP address or hostname of the serverport
- Server portserialNumber
- Serial number of the device or -1 for any serialpass
- Server passwordpublic int GetNumRows()
public int GetNumColumns()
public boolean GetBacklight()
public boolean GetCursorOn()
public boolean GetCursorBlink()
public void SetBacklight(boolean newVal)
newVal
- public void SetCursorOn(boolean newVal)
newVal
- public void SetCursorBlink(boolean newVal)
newVal
- public void SetDisplayString(int Row, java.lang.String newVal)
Row
- rownewVal
- Stringpublic void add_IPhidgetTextLCDEventsListener(_IPhidgetTextLCDEvents l)
l
- An object implementing the __IPhidgetTextLCDEvents interfacepublic void remove_IPhidgetTextLCDEventsListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |