org.netbeans.core.actions
Class SystemExit
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.netbeans.core.actions.SystemExit
- All Implemented Interfaces:
- ActionListener, Externalizable, Serializable, Runnable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, HelpCtx.Provider
public class SystemExit
- extends CallableSystemAction
- implements Runnable
Shut down the system.
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class org.openide.util.actions.SystemAction |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, isEnabled, linkActions, putValue, setEnabled, setIcon |
| Methods inherited from class org.openide.util.SharedClassObject |
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplace |
SystemExit
public SystemExit()
getName
public String getName()
- Human presentable name of the action. This should be
presented as an item in a menu.
- Specified by:
getName in class SystemAction
- Returns:
- the name of the action
getHelpCtx
public HelpCtx getHelpCtx()
- Help context where to find more about the action.
- Specified by:
getHelpCtx in interface HelpCtx.Provider- Specified by:
getHelpCtx in class SystemAction
- Returns:
- the help context for this action
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous in class CallableSystemAction
performAction
public void performAction()
- Specified by:
performAction in class CallableSystemAction
run
public void run()
- Specified by:
run in interface Runnable
initialize
protected void initialize()
- Overrides:
initialize in class SystemAction