org.lyra.Interface
Class CloseApplicationDialog.Interact

java.lang.Object
  extended by org.lyra.Interface.CloseApplicationDialog.Interact
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowListener, java.util.EventListener
Enclosing class:
CloseApplicationDialog

private class CloseApplicationDialog.Interact
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.WindowListener

Implements the most basic logic elements. Since they are not readily employed anywhere else they are included in a sub-class in order to separate code and display elements.

Author:
Martin Foster

Field Summary
private static java.lang.String CLASS
           
(package private)  javax.swing.JDialog myFrame
           
 
Constructor Summary
CloseApplicationDialog.Interact(javax.swing.JDialog source)
          Default constructor for the class.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void windowActivated(java.awt.event.WindowEvent evt)
           
 void windowClosed(java.awt.event.WindowEvent evt)
           
 void windowClosing(java.awt.event.WindowEvent evt)
           
 void windowDeactivated(java.awt.event.WindowEvent evt)
           
 void windowDeiconified(java.awt.event.WindowEvent evt)
           
 void windowIconified(java.awt.event.WindowEvent evt)
           
 void windowOpened(java.awt.event.WindowEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myFrame

javax.swing.JDialog myFrame

CLASS

private static final java.lang.String CLASS
See Also:
Constant Field Values
Constructor Detail

CloseApplicationDialog.Interact

public CloseApplicationDialog.Interact(javax.swing.JDialog source)
Default constructor for the class. Will enable us to control the Frame more easily.

Parameters:
source -
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

windowClosing

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

windowClosed

public void windowClosed(java.awt.event.WindowEvent evt)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent evt)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent evt)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent evt)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent evt)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent evt)
Specified by:
windowOpened in interface java.awt.event.WindowListener