Class FileNewAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class FileNewAction
extends GraffitiAction
The action for a new graph.
Version:
$Revision: 1.9 $
See Also:
Serialized Form
  • Constructor Details

    • FileNewAction

      public FileNewAction​(MainFrame mainFrame, ViewManager viewManager)
      Creates a new FileNewAction object.
      Parameters:
      mainFrame - DOCUMENT ME!
      viewManager - DOCUMENT ME!
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Description copied from class: GraffitiAction
      Returns true, if this action is enabled.
      Specified by:
      isEnabled in interface Action
      Specified by:
      isEnabled in class GraffitiAction
      Returns:
      true, if this action is enabled.
    • getHelpContext

      public HelpContext getHelpContext()
      Description copied from class: GraffitiAction
      Returns the help context for this action.
      Overrides:
      getHelpContext in class GraffitiAction
      Returns:
      the help context for this action.
    • actionPerformed

      public void actionPerformed​(ActionEvent e)
      DOCUMENT ME!
      Parameters:
      e - DOCUMENT ME!