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| Constructor and Description |
|---|
RemoteRequestTextLCD(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os) |
RemoteRequestTextLCD(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os,
Font font) |
| Modifier and Type | Method and Description |
|---|---|
void |
bitBlt(byte[] src,
int sw,
int sh,
int sx,
int sy,
byte[] dst,
int dw,
int dh,
int dx,
int dy,
int w,
int h,
int rop)
Standard two input BitBlt function.
|
void |
bitBlt(byte[] src,
int sw,
int sh,
int sx,
int sy,
int dx,
int dy,
int w,
int h,
int rop)
Standard two input BitBlt function with the LCD display as the
destination.
|
void |
clear()
Clear the display.
|
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.
|
byte[] |
getDisplay()
Provide access to the LCD display frame buffer.
|
Font |
getFont()
Get the current font
|
int |
getHeight()
Return the height of the associated drawing surface.
|
byte[] |
getHWDisplay()
Get access to hardware LCD display.
|
int |
getTextHeight()
Get the height of the screen in characters
|
int |
getTextWidth()
Get the width of the screen in characters
|
int |
getWidth()
Return the width of the associated drawing surface.
|
void |
refresh()
Refresh the display.
|
void |
scroll()
Scrolls the screen up one text line
|
void |
setAutoRefresh(boolean on)
Turn on/off the automatic refresh of the LCD display.
|
int |
setAutoRefreshPeriod(int period)
Set the period used to perform automatic refreshing of the display.
|
void |
setContrast(int contrast)
Set the LCD contrast.
|
public RemoteRequestTextLCD(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os)
public RemoteRequestTextLCD(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os,
Font font)
public void refresh()
CommonLCDpublic void clear()
CommonLCDpublic int getWidth()
CommonLCDpublic int getHeight()
CommonLCDpublic byte[] getDisplay()
CommonLCDgetDisplay in interface CommonLCDpublic byte[] getHWDisplay()
CommonLCDgetHWDisplay in interface CommonLCDpublic void setContrast(int contrast)
CommonLCDsetContrast in interface CommonLCDcontrast - 0 blank 0x60 full onpublic void bitBlt(byte[] src,
int sw,
int sh,
int sx,
int sy,
int dx,
int dy,
int w,
int h,
int rop)
CommonLCDbitBlt in interface CommonLCDsrc - byte array containing the source imagesw - Width of the source imagesh - Height of the source imagesx - X position to start the copy fromsy - Y Position to start the copy fromdx - X destinationdy - Y destinationw - width of the area to copyh - height of the area to copyrop - raster operation.public void bitBlt(byte[] src,
int sw,
int sh,
int sx,
int sy,
byte[] dst,
int dw,
int dh,
int dx,
int dy,
int w,
int h,
int rop)
CommonLCDbitBlt in interface CommonLCDsrc - byte array containing the source imagesw - Width of the source imagesh - Height of the source imagesx - X position to start the copy fromsy - Y Position to start the copy fromdst - byte array containing the destination imagedw - Width of the destination imagedh - Height of the destination imagedx - X destinationdy - Y destinationw - width of the area to copyh - height of the area to copyrop - raster operation.public void setAutoRefresh(boolean on)
CommonLCDsetAutoRefresh in interface CommonLCDon - true to enable, false to disablepublic int setAutoRefreshPeriod(int period)
CommonLCDsetAutoRefreshPeriod in interface CommonLCDperiod - time in mspublic void drawChar(char c,
int x,
int y)
TextLCDpublic void drawString(java.lang.String str,
int x,
int y,
boolean inverted)
TextLCDdrawString in interface TextLCDstr - 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.public void drawString(java.lang.String str,
int x,
int y)
TextLCDdrawString in interface TextLCDstr - The string to be displayedx - The x character co-ordinate to display at.y - The y character co-ordinate to display at.public void drawInt(int i,
int x,
int y)
TextLCDpublic void drawInt(int i,
int places,
int x,
int y)
TextLCDpublic void clear(int x,
int y,
int n)
TextLCDpublic void clear(int y)
TextLCDpublic void scroll()
TextLCDpublic int getTextWidth()
TextLCDgetTextWidth in interface TextLCDpublic int getTextHeight()
TextLCDgetTextHeight in interface TextLCD