Class CloseWindow

  • All Implemented Interfaces:
    java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

    public class CloseWindow
    extends java.awt.event.WindowAdapter
    The class CloseWindow is an Adapter class for the WindowAdapter to close the window and exit the programm.
    • Constructor Summary

      Constructors 
      Constructor Description
      CloseWindow()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void windowClosed​(java.awt.event.WindowEvent we)
      Window closed.
      void windowClosing​(java.awt.event.WindowEvent we)
      Window closing.
      • Methods inherited from class java.awt.event.WindowAdapter

        windowActivated, 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
    • Constructor Detail

      • CloseWindow

        public CloseWindow()
    • Method Detail

      • windowClosed

        public void windowClosed​(java.awt.event.WindowEvent we)
        Window closed.
        Specified by:
        windowClosed in interface java.awt.event.WindowListener
        Overrides:
        windowClosed in class java.awt.event.WindowAdapter
        Parameters:
        we - the we
        See Also:
        WindowAdapter.windowClosed(java.awt.event.WindowEvent)
      • windowClosing

        public void windowClosing​(java.awt.event.WindowEvent we)
        Window closing.
        Specified by:
        windowClosing in interface java.awt.event.WindowListener
        Overrides:
        windowClosing in class java.awt.event.WindowAdapter
        Parameters:
        we - the we
        See Also:
        WindowAdapter.windowClosing(java.awt.event.WindowEvent)