protected abstract class AbstractOfficeBuildingPanel.OfficeAction<T> extends AbstractAction
AbstractAction
that handles failures.changeSupport, enabled
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 and Description |
---|
OfficeAction(String name)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
abstract AbstractOfficeBuildingPanel.OfficeAsyncAction<T> |
doAction()
Undertakes the
Action . |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public abstract AbstractOfficeBuildingPanel.OfficeAsyncAction<T> doAction() throws Exception
Action
.AbstractOfficeBuildingPanel.OfficeAsyncAction
if a further asynchronous (long
running) action needs to be undertaken.Exception
- If Action
fails.public void actionPerformed(ActionEvent e)
Copyright © 2005–2016. All rights reserved.