Class GUIImpl

java.lang.Object
org.jline.curses.impl.GUIImpl
All Implemented Interfaces:
GUI

public class GUIImpl extends Object implements GUI
  • Field Details

  • Constructor Details

    • GUIImpl

      public GUIImpl(Terminal terminal)
  • Method Details

    • getTerminal

      public Terminal getTerminal()
      Specified by:
      getTerminal in interface GUI
    • getRenderer

      public <C extends Component> Renderer getRenderer(Class<C> clazz)
      Specified by:
      getRenderer in interface GUI
    • setRenderer

      public <C extends Component> void setRenderer(Class<C> clazz, Renderer renderer)
      Specified by:
      setRenderer in interface GUI
    • getTheme

      public Theme getTheme()
      Specified by:
      getTheme in interface GUI
    • setTheme

      public void setTheme(Theme theme)
      Specified by:
      setTheme in interface GUI
    • addWindow

      public void addWindow(Window window)
      Specified by:
      addWindow in interface GUI
    • removeWindow

      public void removeWindow(Window window)
      Specified by:
      removeWindow in interface GUI
    • run

      public void run()
      Specified by:
      run in interface GUI
    • handle

      private void handle(Terminal.Signal signal)
    • onResize

      private void onResize()
    • handleInput

      protected void handleInput(String input)
    • handleMouse

      protected void handleMouse(MouseEvent event)
    • redraw

      protected void redraw()