org.jfree.report.demo.helper
Class DefaultCloseHandler

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--org.jfree.report.demo.helper.DefaultCloseHandler

public class DefaultCloseHandler
extends java.awt.event.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
DefaultCloseHandler()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent event)
          Handles the window closing event.
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCloseHandler

public DefaultCloseHandler()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Handles the window closing event.
Overrides:
windowClosing in class java.awt.event.WindowAdapter
Parameters:
event - the window event.