Package jexer.demos

Class Demo5

  • All Implemented Interfaces:
    java.awt.event.WindowListener, java.util.EventListener

    public class Demo5
    extends java.lang.Object
    implements java.awt.event.WindowListener
    This class is the main driver for a simple demonstration of Jexer's capabilities. It shows two Swing demo applications running in the same Swing UI.
    • Constructor Summary

      Constructors 
      Constructor Description
      Demo5()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main entry point.
      void windowActivated​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      void windowClosed​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      void windowClosing​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      void windowDeactivated​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      void windowDeiconified​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      void windowIconified​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      void windowOpened​(java.awt.event.WindowEvent event)
      Pass window events into the event queue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Demo5

        public Demo5()
    • Method Detail

      • windowActivated

        public void windowActivated​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowActivated in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • windowClosed

        public void windowClosed​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowClosed in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • windowClosing

        public void windowClosing​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowClosing in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • windowDeactivated

        public void windowDeactivated​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowDeactivated in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • windowDeiconified

        public void windowDeiconified​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowDeiconified in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • windowIconified

        public void windowIconified​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowIconified in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • windowOpened

        public void windowOpened​(java.awt.event.WindowEvent event)
        Pass window events into the event queue.
        Specified by:
        windowOpened in interface java.awt.event.WindowListener
        Parameters:
        event - window event received
      • main

        public static void main​(java.lang.String[] args)
        Main entry point.
        Parameters:
        args - Command line arguments