|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnanovm.nibo.drivers.TextDisplay
public class TextDisplay
Gives access to a connected text display.
Field Summary | |
---|---|
static int |
BLINKBLOCK
|
static int |
BLOCK
|
static int |
HIDDEN
|
static int |
LINE
|
static int |
MAX_X
Maximum value for X coordinate |
static int |
MAX_Y
Maximum value for Y coordinate |
static int |
MIN_X
Minimum value for X coordinate |
static int |
MIN_Y
Minimum value for Y coordinate |
Constructor Summary | |
---|---|
TextDisplay()
|
Method Summary | |
---|---|
static void |
clear()
Clear the entire display |
static void |
gotoXY(int x,
int y)
Set (invisible) cursor to given coordinate |
static void |
print(java.lang.String s)
Print text on display |
static void |
setCursorMode(int mode)
Set the visibility of the cursor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MIN_X
public static final int MAX_X
public static final int MIN_Y
public static final int MAX_Y
public static final int HIDDEN
public static final int BLOCK
public static final int BLINKBLOCK
public static final int LINE
Constructor Detail |
---|
public TextDisplay()
Method Detail |
---|
public static void clear()
public static void gotoXY(int x, int y)
x
- X-coordinatey
- Y-coordinatepublic static void print(java.lang.String s)
public static void setCursorMode(int mode)
mode
- new cursor mode. Possible values are HIDDEN BLOCK BLINKBLOCK LINE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |