public class DefaultDisplayDevice extends Object implements DisplayDeviceAdaptor
COLOR_MODE_ARGB8888, COLOR_MODE_RGB565, COLOR_MODE_RGB666, COLOR_MODE_RGB888
Constructor and Description |
---|
DefaultDisplayDevice() |
Modifier and Type | Method and Description |
---|---|
void |
clear(int rgb) |
void |
flush() |
int |
getColorMode() |
int |
getDisplayHeight() |
int |
getDisplayWidth() |
void |
showImage(int top_left_x,
int top_left_y,
Image image,
boolean delayshow) |
void |
showText(int top_left_x,
int top_left_y,
Text text,
boolean delayshow) |
void |
turnOffBacklight() |
void |
turnOnBacklight() |
void |
update(int top_left_x,
int top_left_y,
ImageBuffer imageBuffer,
boolean delayshow) |
public int getDisplayWidth()
getDisplayWidth
in interface DisplayDeviceAdaptor
public int getDisplayHeight()
getDisplayHeight
in interface DisplayDeviceAdaptor
public int getColorMode()
getColorMode
in interface DisplayDeviceAdaptor
public void clear(int rgb)
clear
in interface DisplayDeviceAdaptor
public void update(int top_left_x, int top_left_y, ImageBuffer imageBuffer, boolean delayshow)
update
in interface DisplayDeviceAdaptor
public void showImage(int top_left_x, int top_left_y, Image image, boolean delayshow)
showImage
in interface DisplayDeviceAdaptor
public void showText(int top_left_x, int top_left_y, Text text, boolean delayshow)
showText
in interface DisplayDeviceAdaptor
public void flush()
flush
in interface DisplayDeviceAdaptor
public void turnOnBacklight()
turnOnBacklight
in interface DisplayDeviceAdaptor
public void turnOffBacklight()
turnOffBacklight
in interface DisplayDeviceAdaptor