public class CancelAction extends AbstractAction
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
CancelAction()
Construtor.
|
CancelAction(JDialog owner)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent evt)
Executa a ação de fechar a janela.
|
protected String |
getString(String key) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic CancelAction(JDialog owner)
owner - a janela que originou essa açãopublic CancelAction()
public void actionPerformed(ActionEvent evt)
evt - o evento ocorridoCopyright © 2017. All rights reserved.