Class DefaultCloseHandler
- java.lang.Object
-
- java.awt.event.WindowAdapter
-
- org.pentaho.reporting.engine.classic.demo.util.DefaultCloseHandler
-
- All Implemented Interfaces:
WindowFocusListener
,WindowListener
,WindowStateListener
,EventListener
public class DefaultCloseHandler extends WindowAdapter
A Window close handler that either closes the frame, or if the frame is not embedded, shuts down the VM.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description DefaultCloseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
windowClosing(WindowEvent event)
Handles the window closing event.-
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
-
-
-
Method Detail
-
windowClosing
public void windowClosing(WindowEvent event)
Handles the window closing event.- Specified by:
windowClosing
in interfaceWindowListener
- Overrides:
windowClosing
in classWindowAdapter
- Parameters:
event
- the window event.
-
-