当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.0
CopyAction (NetBeans Actions API) - NetBeans API Javadoc 5.5.0
org.openide.actions
Class CopyAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.util.actions.CallbackSystemAction
org.openide.actions.CopyAction
- All Implemented Interfaces:
- ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
public class CopyAction
- extends CallbackSystemAction
Copy the selected item to the clipboard. As callback action this
class cooperate with other actions placed in JComponent ActionMap.
As a key to the ActionMap the javax.swing.text.DefaultEditorKit.copyAction
is used.
- See Also:
- Serialized Form
Methods inherited from class org.openide.util.actions.SystemAction |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, 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 |
CopyAction
public CopyAction()
initialize
protected void initialize()
- Overrides:
initialize
in class CallbackSystemAction
getActionMapKey
public Object getActionMapKey()
- Overrides:
getActionMapKey
in class CallbackSystemAction
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
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous
in class CallableSystemAction