org.xulux.guilayer.swing.listeners
Class XuluxWindowListener

java.lang.Object
  extended by org.xulux.gui.XuluxListener
      extended by org.xulux.guilayer.swing.listeners.XuluxWindowListener
All Implemented Interfaces:
java.awt.event.WindowListener, java.util.EventListener, org.xulux.api.gui.IXuluxListener

public class XuluxWindowListener
extends org.xulux.gui.XuluxListener
implements java.awt.event.WindowListener

A WindowListener to make sure we pass control back to the main application when someone hits the X button.

Version:
$Id: XuluxWindowListener.java,v 1.1 2005/12/18 12:58:21 mvdb Exp $
Author:
Martin van den Bemt

Field Summary
 
Fields inherited from class org.xulux.gui.XuluxListener
processing, widget
 
Constructor Summary
XuluxWindowListener()
          Constructor for XuluxWindowListener.
XuluxWindowListener(org.xulux.api.gui.IWidget widget)
          Constructor for XuluxWindowListener.
 
Method Summary
 void windowActivated(java.awt.event.WindowEvent e)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent e)
          Specifies that the window should be destroyed, if followed by a windowDeactivated event.
 void windowDeactivated(java.awt.event.WindowEvent e)
          If the window was previously closing, complete and destroy the widget
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 
Methods inherited from class org.xulux.gui.XuluxListener
accepted, completed, completed, completedPart, getWidget, isProcessing, processEvent, setWidget, started
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XuluxWindowListener

public XuluxWindowListener()
Constructor for XuluxWindowListener.


XuluxWindowListener

public XuluxWindowListener(org.xulux.api.gui.IWidget widget)
Constructor for XuluxWindowListener.

Parameters:
widget - the widget
Method Detail

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener
See Also:
WindowListener.windowActivated(WindowEvent)

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener
See Also:
WindowListener.windowClosed(WindowEvent)

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Specifies that the window should be destroyed, if followed by a windowDeactivated event.

Specified by:
windowClosing in interface java.awt.event.WindowListener
See Also:
WindowListener.windowClosing(WindowEvent)

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
If the window was previously closing, complete and destroy the widget

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
See Also:
WindowListener.windowDeactivated(WindowEvent)

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener
See Also:
WindowListener.windowDeiconified(WindowEvent)

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener
See Also:
WindowListener.windowIconified(WindowEvent)

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener
See Also:
WindowListener.windowOpened(WindowEvent)


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.