public abstract class FileScriptingPanel.BasicAction extends AbstractAction
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 |
---|
FileScriptingPanel.BasicAction(String name,
String icon,
String accel,
Character mnemonic)
Constructor for setting up an action.
|
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
public FileScriptingPanel.BasicAction(String name, String icon, String accel, Character mnemonic)
name
- the name of the action (to be displayed in menu/button)icon
- the icon name (no path required if in weka/gui/images), can be nullaccel
- the accelerator command, e.g., "ctrl N", can be nullmnemonic
- the mnemonic characterCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.