|
RoboJDETM v1.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ridgesoft.io.Display
Abstract class for character output displays.
| Constructor Summary | |
protected |
Display(int width,
int height)
Initializes a Display object. |
| Method Summary | |
int |
getHeight()
Gets the height of the display in characters. |
int |
getWidth()
Gets the width of the display in characters. |
void |
print(int line,
byte[] bytes)
Prints ASCII bytes to the specified line on the display screen. |
void |
print(int line,
String string)
Prints a string to the specified line on the display screen. |
abstract boolean |
printChar(int line,
int column,
byte character)
Prints a character on the display. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
protected Display(int width,
int height)
width - number of characters wideheight - number of characters high| Method Detail |
public int getHeight()
public int getWidth()
public void print(int line,
byte[] bytes)
line - line to print tobytes - ASCII bytes to print
public void print(int line,
String string)
line - line to print onstring - string to print
public abstract boolean printChar(int line,
int column,
byte character)
This method should normally not be called directly.
line - line to print oncolumn - column to print in, starting at 0character - ASCII character to print
|
RoboJDETM v1.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||