Package com.iizix.term
Interface HostScreenListener
- All Known Implementing Classes:
- RemoteHostSession
public interface HostScreenListener
Interface used to listen to changes in the terminal screen in order to reflect it to the listening parties.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- onCursorChanged- (int x, int y) The cursor position has changed.- void- onScreenChanged- (int begin, int end) The screen has changed between two points in a wrapping fashion.- voidThe display has been cleared, i.e.- void- onScreenSizeChanged- (int cx, int cy) The screen size has changed.
- Method Details- onScreenClearvoid onScreenClear()The display has been cleared, i.e. entire screen blanked with spaces and default color.
- onCursorChangedvoid onCursorChanged- (int x, int y) The cursor position has changed.- Parameters:
- x- X position on screen.
- y- Y position on screen.
 
- onScreenChangedvoid onScreenChanged- (int begin, int end) The screen has changed between two points in a wrapping fashion.- Parameters:
- begin- The beginning position.
- end- The end position (inclusive).
 
- onScreenSizeChangedvoid onScreenSizeChanged- (int cx, int cy) The screen size has changed.- Parameters:
- cx- The new width.
- cy- The new height.