|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.ka2ddo.yaac.gui.CloseWindowCommandAction
public final class CloseWindowCommandAction
This is a helper class for the common operation of closing a window widget when commanded to by the user.
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 |
---|
public CloseWindowCommandAction(java.awt.Window window, java.lang.String title)
window
- Window subclass instance to closetitle
- localized String title to put on button created with this ActionMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
e
- ActionEvent identifying the commanding widget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |