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 to the display.
|
void |
write(float decimal_number,
int x_position,
int y_position)
• Writes a decimal value to the display.
|
void |
write(int integral_number,
int x_position,
int y_position)
• Writes an integer value to the display.
|
void |
write(int integral_number,
int x_position,
int y_position,
int digits)
• Writes an integer value to the display with given number of digits.
|
void |
write(java.lang.String text,
int x_position,
int y_position)
• Writes a text to the display.
|
void |
write(java.lang.String text,
int x_position,
int y_position,
boolean highlighted)
• Writes a text to the display.
|
void clear()
void clearCharacters(int x_position,
int y_position,
int number)
x_position - x-position of the first charcter to be clearedy_position - line number of the characters to be clearednumber - number of characters to be clearedvoid clearLine(int y_position)
y_position - line number for the line to clearvoid refresh()
void write(char character,
int x_position,
int y_position)
character - character to be written to the displayx_position - x-position on the displayy_position - line number on the displayvoid write(float decimal_number,
int x_position,
int y_position)
decimal_number - decimal number to be written to the displayx_position - x-position on the displayy_position - line number on the displayvoid write(int integral_number,
int x_position,
int y_position)
integral_number - integral number to be written to the displayx_position - x-position on the displayy_position - line number on the displayvoid write(int integral_number,
int x_position,
int y_position,
int digits)
integral_number - integral number to be written to the displayx_position - x-position on the displayy_position - line number on the displaydigits - 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 to the displayx_position - x-position on the displayy_position - line number on the displayvoid write(java.lang.String text,
int x_position,
int y_position,
boolean highlighted)
text - text to be written to the displayx_position - x-position on the displayy_position - line number on the displayhighlighted - text will be displayed highlighted if value is "true"