当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.1
UndoAction (NetBeans Actions API) - NetBeans API Javadoc 5.5.1
org.openide.actions
Class UndoAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.actions.UndoAction
- All Implemented Interfaces:
- ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, HelpCtx.Provider
public class UndoAction
- extends CallableSystemAction
Undo an edit.
- See Also:
UndoRedo
,
Serialized Form
Methods inherited from class org.openide.util.actions.SystemAction |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, initialize, 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 |
UndoAction
public UndoAction()
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface Action
- Overrides:
isEnabled
in class SystemAction
getName
public String getName()
- Specified by:
getName
in class SystemAction
getHelpCtx
public HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interface HelpCtx.Provider
- Specified by:
getHelpCtx
in class SystemAction
iconResource
protected String iconResource()
- Overrides:
iconResource
in class SystemAction
performAction
public void performAction()
- Specified by:
performAction
in class CallableSystemAction
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous
in class CallableSystemAction