Package jexer.demos

Class DesktopDemoApplication

  • All Implemented Interfaces:
    java.lang.Runnable

    public class DesktopDemoApplication
    extends TApplication
    The demo application itself.
    • Constructor Detail

      • DesktopDemoApplication

        public DesktopDemoApplication​(TApplication.BackendType backendType)
                               throws java.lang.Exception
        Public constructor.
        Parameters:
        backendType - one of the TApplication.BackendType values
        Throws:
        java.lang.Exception - if TApplication can't instantiate the Backend.
    • Method Detail

      • onMenu

        public boolean onMenu​(TMenuEvent menu)
        Handle menu events.
        Overrides:
        onMenu in class TApplication
        Parameters:
        menu - menu event
        Returns:
        if true, the event was processed and should not be passed onto a window