Class DefaultActionUI

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultActionUI​(java.lang.String label)  
    • Constructor Detail

      • DefaultActionUI

        public DefaultActionUI​(java.lang.String label)
    • Method Detail

      • getLabel

        public java.lang.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 javax.swing.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.