net.jbeans.ui.window
Class WindowCloseAdapter
java.lang.Object
net.jbeans.ui.window.WindowCloseAdapter
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.WindowListener
- public class WindowCloseAdapter
- extends java.lang.Object
- implements java.awt.event.WindowListener
Helper class to handle window close events on a target window.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Masahiro Takatsuka (masa@jbeans.net)
- See Also:
WindowListener
Constructor Summary |
WindowCloseAdapter(java.awt.Window w,
int mode)
Create an adaptor to listen for window close events on the given window. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIRST
public static final int FIRST
- See Also:
- Constant Field Values
DO_NOTHING_ON_CLOSE
public static final int DO_NOTHING_ON_CLOSE
- See Also:
- Constant Field Values
EXIT_ON_CLOSE
public static final int EXIT_ON_CLOSE
- See Also:
- Constant Field Values
HIDE_ON_CLOSE
public static final int HIDE_ON_CLOSE
- See Also:
- Constant Field Values
JUST_CLOSE
public static final int JUST_CLOSE
- See Also:
- Constant Field Values
LAST
public static final int LAST
- See Also:
- Constant Field Values
WindowCloseAdapter
public WindowCloseAdapter(java.awt.Window w,
int mode)
- Create an adaptor to listen for window close events on the given window.
- Parameters:
w
- the target window.
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Specified by:
windowOpened
in interface java.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent e)
- Specified by:
windowClosing
in interface java.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Specified by:
windowClosed
in interface java.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Specified by:
windowIconified
in interface java.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Specified by:
windowDeiconified
in interface java.awt.event.WindowListener
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivated
in interface java.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Specified by:
windowDeactivated
in interface java.awt.event.WindowListener
Copyright © 2003 JBean project. All Rights Reserved.