Class BasicToolBarUI.FrameListener
java.lang.Object
java.awt.event.WindowAdapter
javax.swing.plaf.basic.BasicToolBarUI.FrameListener
- All Implemented Interfaces:
WindowFocusListener, WindowListener, WindowStateListener, EventListener
- Enclosing class:
BasicToolBarUI
The class listens for window events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when a window is in the process of being closed.Methods inherited from class WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
Constructor Details
-
FrameListener
protected FrameListener()Constructs aFrameListener
.
-
-
Method Details
-
windowClosing
Description copied from class:WindowAdapter
Invoked when a window is in the process of being closed. The close operation can be overridden at this point.- Specified by:
windowClosing
in interfaceWindowListener
- Overrides:
windowClosing
in classWindowAdapter
- Parameters:
w
- the event to be processed
-