public class LoadFileToNode extends AbstractSelectionListenerAction
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 and Description |
|---|
LoadFileToNode(String name,
SelectionManager sm) |
LoadFileToNode(String name,
SelectionManager sm,
Component parentComp) |
LoadFileToNode(String name,
SelectionManager sm,
Viewer viewer) |
LoadFileToNode(String name,
SelectionManager sm,
Viewer viewer,
Component parentComp) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
boolean |
isEnabled(SelectionEvent e)
Override this method to specify when to disable or enable the action
based on the current selection.
|
getSelection, getSelectionManager, selectionChangedcreateMenuItem, createToolboxItem, getIcon, setAcceleratorKey, setIcon, setName, setShortDescriptionaddPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic LoadFileToNode(String name, SelectionManager sm, Viewer viewer, Component parentComp)
public LoadFileToNode(String name, SelectionManager sm, Viewer viewer)
public LoadFileToNode(String name, SelectionManager sm, Component parentComp)
public LoadFileToNode(String name, SelectionManager sm)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class AbstractJrActionpublic boolean isEnabled(SelectionEvent e)
AbstractSelectionListenerActionAbstractSelectionListenerAction.selectionChanged(SelectionEvent).isEnabled in class AbstractSelectionListenerActione - the selection eventAbstractSelectionListenerAction.selectionChanged(SelectionEvent)