Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jempeg.empeg.emplode.action
Class ExitAction  view ExitAction download ExitAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.jempeg.empeg.emplode.action.ExitAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, java.awt.event.WindowListener

public class ExitAction
extends javax.swing.AbstractAction
implements java.awt.event.WindowListener

Exits the application

Version:
$Revision: 1.9 $

Field Summary
private  org.jempeg.empeg.emplode.Emplode myEmplode
           
private  javax.swing.JFrame myFrame
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ExitAction(org.jempeg.empeg.emplode.Emplode _emplode, javax.swing.JFrame _frame)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent _event)
          This method is invoked when an action occurs.
protected  void confirm()
           
 void windowActivated(java.awt.event.WindowEvent _event)
          This method is called when a window is activated.
 void windowClosed(java.awt.event.WindowEvent _event)
          This method is called when the window is closed.
 void windowClosing(java.awt.event.WindowEvent _event)
          This method is called when the user calls the system menu close function, giving the program a chance to cancel the close.
 void windowDeactivated(java.awt.event.WindowEvent _event)
          This method is called when the window is deactivated.
 void windowDeiconified(java.awt.event.WindowEvent _event)
          This method is called when the window is deiconified.
 void windowIconified(java.awt.event.WindowEvent _event)
          This method is called when the window is iconified.
 void windowOpened(java.awt.event.WindowEvent _event)
          This method is called when the window is made visible.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myEmplode

private org.jempeg.empeg.emplode.Emplode myEmplode

myFrame

private javax.swing.JFrame myFrame
Constructor Detail

ExitAction

public ExitAction(org.jempeg.empeg.emplode.Emplode _emplode,
                  javax.swing.JFrame _frame)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent _event)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when the user calls the system menu close function, giving the program a chance to cancel the close.

Specified by:
windowClosing in interface java.awt.event.WindowListener

confirm

protected void confirm()

windowClosed

public void windowClosed(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is closed.

Specified by:
windowClosed in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is made visible.

Specified by:
windowOpened in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is iconified.

Specified by:
windowIconified in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is deiconified.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when a window is activated. Only Frames and Dialogs can be active, and the active window always contains the component with focus.

Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent _event)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is deactivated.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener