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 Summary Link icon

    Modifier and Type
    Method
    Description
    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.
    void
    The display has been cleared, i.e.
    void
    onScreenSizeChanged(int cx, int cy)
    The screen size has changed.
  • Method Details Link icon

    • onScreenClear Link icon

      void onScreenClear()
      The display has been cleared, i.e. entire screen blanked with spaces and default color.
    • onCursorChanged Link icon

      void onCursorChanged(int x, int y)
      The cursor position has changed.
      Parameters:
      x - X position on screen.
      y - Y position on screen.
    • onScreenChanged Link icon

      void 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).
    • onScreenSizeChanged Link icon

      void onScreenSizeChanged(int cx, int cy)
      The screen size has changed.
      Parameters:
      cx - The new width.
      cy - The new height.