Class PopupAction

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

public class PopupAction
extends SelectionAction
Represents an action, which is called, if there should be displayed a popup menu.
Version:
$Revision: 1.7 $
See Also:
Serialized Form
  • Constructor Details

    • PopupAction

      public PopupAction​(MainFrame mainFrame)
      Constructs a new popup 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
    • getName

      public String getName()
      Returns the name of this action.
      Overrides:
      getName in class GraffitiAction
      Returns:
      String, the name
    • 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.