Class GUIImpl

  • All Implemented Interfaces:
    GUI

    public class GUIImpl
    extends java.lang.Object
    implements GUI
    • Constructor Detail

      • GUIImpl

        public GUIImpl​(org.jline.terminal.Terminal terminal)
    • Method Detail

      • getTerminal

        public org.jline.terminal.Terminal getTerminal()
        Specified by:
        getTerminal in interface GUI
      • setRenderer

        public <C extends Component> void setRenderer​(java.lang.Class<C> clazz,
                                                      Renderer renderer)
        Specified by:
        setRenderer 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
      • handleInput

        protected void handleInput​(java.lang.String input)
      • handleMouse

        protected void handleMouse​(org.jline.terminal.MouseEvent event)
      • redraw

        protected void redraw()