org.dbe.eve.interaction_patterns
Class WindowClosingAdapter

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.dbe.eve.interaction_patterns.WindowClosingAdapter
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

public class WindowClosingAdapter
extends java.awt.event.WindowAdapter


Field Summary
private  boolean exitSystem
           
 
Constructor Summary
WindowClosingAdapter()
          Create an WindowClosingAdapter to close the window.
WindowClosingAdapter(boolean exitSystem)
          create an WindowClosingAdapter to close the window.
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent event)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exitSystem

private boolean exitSystem
Constructor Detail

WindowClosingAdapter

public WindowClosingAdapter(boolean exitSystem)
create an WindowClosingAdapter to close the window. Is exitSystem true, the complete programm is closed.


WindowClosingAdapter

public WindowClosingAdapter()
Create an WindowClosingAdapter to close the window. The programm is not closed.

Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter