Class UserPanelActionUI

java.lang.Object
repast.simphony.userpanel.ui.UserPanelActionUI
All Implemented Interfaces:
ActionUI

public class UserPanelActionUI extends Object implements ActionUI
  • Constructor Details

  • Method Details

    • getEditor

      public Editor getEditor(ScenarioTreeEvent evt)
      Description copied from interface: ActionUI
      Gets the Editor (an editor panel) for editing an action.
      Specified by:
      getEditor in interface ActionUI
      Parameters:
      evt - the ScenarioTreeEvent that triggered this method call.
      Returns:
      the Editor (an editor panel) for editing an action.
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface ActionUI
      Returns:
      a label for the action as it appears in the tree.
    • getPopupMenu

      public JPopupMenu getPopupMenu(ScenarioTreeEvent evt)
      Description copied from interface: ActionUI
      Gets JPopupMenu to attach to the tree entry for an action. This may return null for no popup.
      Specified by:
      getPopupMenu in interface ActionUI
      Returns:
      JPopupMenu to attach to the tree entry for an action. This may return null for no popup.