Package jexer.demos
Class Demo5
- java.lang.Object
-
- jexer.demos.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.
-
-
-
Method Detail
-
windowActivated
public void windowActivated(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowActivated
in interfacejava.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 interfacejava.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 interfacejava.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 interfacejava.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 interfacejava.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 interfacejava.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 interfacejava.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
-
-