ActionListener
, Externalizable
, Serializable
, EventListener
, Action
, org.openide.util.actions.Presenter
, org.openide.util.actions.Presenter.Menu
, org.openide.util.actions.Presenter.Popup
, org.openide.util.ContextAwareAction
, org.openide.util.HelpCtx.Provider
public class FileSystemAction
extends org.openide.util.actions.SystemAction
implements org.openide.util.ContextAwareAction, org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup
DataObject
is selected and then retrieves SystemAction
s from its
FileSystem
.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 | Description |
---|---|
FileSystemAction() |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(ActionEvent e) |
|
Action |
createContextAwareInstance(org.openide.util.Lookup actionContext) |
Implements
ContextAwareAction interface method. |
org.openide.util.HelpCtx |
getHelpCtx() |
|
JMenuItem |
getMenuPresenter() |
|
String |
getName() |
|
JMenuItem |
getPopupPresenter() |
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
clone, getClass, notify, notifyAll, toString, wait, wait, wait
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplace
public JMenuItem getMenuPresenter()
getMenuPresenter
in interface org.openide.util.actions.Presenter.Menu
public JMenuItem getPopupPresenter()
getPopupPresenter
in interface org.openide.util.actions.Presenter.Popup
public String getName()
getName
in class org.openide.util.actions.SystemAction
public org.openide.util.HelpCtx getHelpCtx()
getHelpCtx
in interface org.openide.util.HelpCtx.Provider
getHelpCtx
in class org.openide.util.actions.SystemAction
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class org.openide.util.actions.SystemAction
public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
ContextAwareAction
interface method.createContextAwareInstance
in interface org.openide.util.ContextAwareAction
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.