public interface IDisplay
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
• Clears the complete display.
|
void |
clearCharacters(int x_position,
int y_position,
int number)
• Clears a row of characters on the display.
|
void |
clearLine(int y_position)
• Clears a single line on the display.
|
void |
refresh()
• Initiates an update of the display.
|
void |
write(char character,
int x_position,
int y_position)
• Writes a single character on the display.
|
void |
write(float decimal_number,
int x_position,
int y_position)
• Writes a decimal value on the display.
|
void |
write(int integral_number,
int x_position,
int y_position)
• Writes an integer value on the display.
|
void |
write(int integral_number,
int x_position,
int y_position,
int digits)
• Writes an integer value on the display with given number of digits.
|
void |
write(java.lang.String text,
int x_position,
int y_position)
• Writes a text on the display.
|
void |
write(java.lang.String text,
int x_position,
int y_position,
boolean highlighted)
• Writes a text on the display.
|
void clear()
void clearCharacters(int x_position,
int y_position,
int number)
x_position - x-position of the first charactery_position - line numbernumber - number of charactersvoid clearLine(int y_position)
y_position - line numbervoid refresh()
void write(char character,
int x_position,
int y_position)
character - character to be written on the displayx_position - x-positiony_position - line numbervoid write(float decimal_number,
int x_position,
int y_position)
decimal_number - decimal number to be written on the displayx_position - x-positiony_position - line numbervoid write(int integral_number,
int x_position,
int y_position)
integral_number - integral number to be written on the displayx_position - x-positiony_position - line numbervoid write(int integral_number,
int x_position,
int y_position,
int digits)
integral_number - integral number to be written on the displayx_position - x-positiony_position - line numberdigits - number of digits displayed on the display including leading spacesvoid write(java.lang.String text,
int x_position,
int y_position)
text - text to be written on the displayx_position - x-positiony_position - line numbervoid write(java.lang.String text,
int x_position,
int y_position,
boolean highlighted)
text - text to be written on the displayx_position - x-positiony_position - line numberhighlighted - text will be displayed highlighted if value is "true"