Class DefaultActionUI

    • Constructor Detail

      • DefaultActionUI

        public DefaultActionUI​(String label)
    • Method Detail

      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface ActionUI
        Returns:
        a label for the action as it appears in the tree.
      • 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.
      • 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.