Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.yaac.gui
Class CloseWindowCommandAction

    java.lang.Object
      javax.swing.AbstractAction
          org.ka2ddo.yaac.gui.CloseWindowCommandAction

All Implemented Interfaces:
  java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

    public final class CloseWindowCommandAction

extends javax.swing.AbstractAction

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

See Also:
  Serialized Form

Field Summary

Fields inherited from class javax.swing.AbstractAction
`changeSupport, enabled`

Fields inherited from interface javax.swing.Action
`ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON`

Constructor Summary
`CloseWindowCommandAction(java.awt.Window window, java.lang.String title)` Create a button Action to close the specified window upon command.

Method Summary
`void` | `actionPerformed(java.awt.event.ActionEvent e)` Do not call.

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`

Constructor Detail

### CloseWindowCommandAction

    public CloseWindowCommandAction(java.awt.Window window,
                                    java.lang.String title)

  Create a button Action to close the specified window upon command.

  Parameters:
    `window` - Window subclass instance to close
    `title` - localized String title to put on button created with this Action

Method Detail

### actionPerformed

    public void actionPerformed(java.awt.event.ActionEvent e)

  Do not call. Called when action needs to invoke listener to close window.

  Parameters:
    `e` - ActionEvent identifying the commanding widget

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD