|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnanovm.nibo.drivers.GraphicDisplay
public class GraphicDisplay
Gives access to a connected graphics display.
Field Summary | |
---|---|
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 | |
---|---|
GraphicDisplay()
|
Method Summary | |
---|---|
static void |
clear()
Clear the entire display |
static boolean |
getProportional()
Get the proportional mode for text output |
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 |
setProportional(boolean proportional)
Set the proportional mode for text output |
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
Constructor Detail |
---|
public GraphicDisplay()
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 setProportional(boolean proportional)
proportional
- true for proportional modepublic static boolean getProportional()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |