Class FileScriptingPanel.BasicAction

java.lang.Object
javax.swing.AbstractAction
weka.gui.scripting.FileScriptingPanel.BasicAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
FileScriptingPanel

public abstract class FileScriptingPanel.BasicAction extends AbstractAction
A slightly extended action class.
Version:
$Revision: 15104 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • BasicAction

      public BasicAction(String name, String icon, String accel, Character mnemonic)
      Constructor for setting up an action.
      Parameters:
      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 null
      accel - the accelerator command, e.g., "ctrl N", can be null
      mnemonic - the mnemonic character