org.ka2ddo.yaac.gui
Class CloseWindowCommandListener

java.lang.Object
  extended by org.ka2ddo.yaac.gui.CloseWindowCommandListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public final class CloseWindowCommandListener
extends java.lang.Object
implements java.awt.event.ActionListener

This is a helper class for the common operation of closing a window widget when commanded to by the user.


Constructor Summary
CloseWindowCommandListener(java.awt.Window window)
          Create a listener to close the specified window upon command.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Do not call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseWindowCommandListener

public CloseWindowCommandListener(java.awt.Window window)
Create a listener to close the specified window upon command.

Parameters:
window - Window subclass instance to close
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Do not call. Called when action needs to invoke listener to close window.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - ActionEvent identifying the commanding widget