当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
CopyAction (NetBeans Actions API) - NetBeans API Javadoc 5.0.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:
- Action, ActionListener, ContextAwareAction, EventListener, Externalizable, HelpCtx.Provider, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, Serializable
- 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()
getActionMapKey
public Object getActionMapKey()
getName
public String getName()
getHelpCtx
public HelpCtx getHelpCtx()
iconResource
protected String iconResource()
asynchronous
protected boolean asynchronous()