Package jexer.tterminal
Interface DisplayListener
-
- All Known Implementing Classes:
TiledTerminal
,TTerminalWidget
public interface DisplayListener
DisplayListener is used to callback into external UI when data has come in from the remote side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
displayChanged()
Function to call when the display needs to be updated.int
getDisplayHeight()
Function to call to obtain the display height.int
getDisplayWidth()
Function to call to obtain the display width.
-
-
-
Method Detail
-
displayChanged
void displayChanged()
Function to call when the display needs to be updated.
-
getDisplayWidth
int getDisplayWidth()
Function to call to obtain the display width.- Returns:
- the number of columns in the display
-
getDisplayHeight
int getDisplayHeight()
Function to call to obtain the display height.- Returns:
- the number of rows in the display
-
-