ROP_AND, ROP_ANDINVERTED, ROP_ANDREVERSE, ROP_CLEAR, ROP_COPY, ROP_COPYINVERTED, ROP_EQUIV, ROP_INVERT, ROP_NAND, ROP_NOOP, ROP_NOR, ROP_OR, ROP_ORINVERTED, ROP_ORREVERSE, ROP_SET, ROP_XOR
Modifier and Type | Method and Description |
---|---|
void |
clear(int y)
Clear an LCD display row
|
void |
clear(int x,
int y,
int n)
Clear a contiguous set of characters
|
void |
drawChar(char c,
int x,
int y)
Draw a single char on the LCD at specified x,y co-ordinate.
|
void |
drawInt(int i,
int x,
int y)
Display an int on the LCD at specified x,y co-ordinate.
|
void |
drawInt(int i,
int places,
int x,
int y)
Display an in on the LCD at x,y with leading spaces to occupy at least the number
of characters specified by the places parameter.
|
void |
drawString(java.lang.String str,
int x,
int y)
Display a string on the LCD at specified x,y co-ordinate.
|
void |
drawString(java.lang.String str,
int x,
int y,
boolean inverted)
Display an optionally inverted string on the LCD at specified x,y co-ordinate.
|
java.awt.Font |
getFont()
Get the current font
|
int |
getTextHeight()
Get the height of the screen in characters
|
int |
getTextWidth()
Get the width of the screen in characters
|
void |
scroll()
Scrolls the screen up one text line
|
bitBlt, bitBlt, clear, getDisplay, getHeight, getHWDisplay, getWidth, refresh, setAutoRefresh, setAutoRefreshPeriod, setContrast
void drawChar(char c, int x, int y)
c
- Character to displayx
- X locationy
- Y locationvoid drawString(java.lang.String str, int x, int y, boolean inverted)
str
- The string to be displayedx
- The x character co-ordinate to display at.y
- The y character co-ordinate to display at.inverted
- if true the string is displayed inverted.void drawString(java.lang.String str, int x, int y)
str
- The string to be displayedx
- The x character co-ordinate to display at.y
- The y character co-ordinate to display at.void drawInt(int i, int x, int y)
i
- The value to display.x
- The x character co-ordinate to display at.y
- The y character co-ordinate to display at.void drawInt(int i, int places, int x, int y)
i
- The value to displayplaces
- number of places to use to display the valuex
- The x character co-ordinate to display at.y
- The y character co-ordinate to display at.void clear(int x, int y, int n)
x
- the x character coordinatey
- the y character coordinaten
- the number of charactersvoid clear(int y)
y
- the row to clearvoid scroll()
java.awt.Font getFont()
int getTextWidth()
int getTextHeight()