org.netbeans.core/2 3.32

org.netbeans.core.actions
Class SystemExit

java.lang.Object
  extended by org.openide.util.SharedClassObject
      extended by org.openide.util.actions.SystemAction
          extended by org.openide.util.actions.CallableSystemAction
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
 
Fields inherited from class org.openide.util.actions.SystemAction
PROP_ENABLED, PROP_ICON
 
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
SystemExit()
           
 
Method Summary
protected  boolean asynchronous()
           
 HelpCtx getHelpCtx()
          Help context where to find more about the action.
 String getName()
          Human presentable name of the action.
protected  void initialize()
           
 void performAction()
           
 void run()
           
 
Methods inherited from class org.openide.util.actions.CallableSystemAction
actionPerformed, getMenuPresenter, getPopupPresenter, getToolbarPresenter
 
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
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

SystemExit

public SystemExit()
Method Detail

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

org.netbeans.core/2 3.32

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.