Class CutAction

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

public class CutAction
extends SelectionAction
Represents a cut of graph elements action.
Version:
$Revision: 1.6.4.1 $
See Also:
Serialized Form
  • Constructor Details

    • CutAction

      public CutAction​(MainFrame mainFrame)
      Constructs a new cut action.
      Parameters:
      mainFrame - DOCUMENT ME!
  • Method Details

    • getHelpContext

      public HelpContext getHelpContext()
      Returns the help context for the action.
      Overrides:
      getHelpContext in class GraffitiAction
      Returns:
      HelpContext, the help context for the action
    • actionPerformed

      public void actionPerformed​(ActionEvent e)
      Executes this action.
      Parameters:
      e - DOCUMENT ME!
    • 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 SelectionAction
      Returns:
      true, if this action is enabled.