Class AbstractScopedJMeterGuiComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
Direct Known Subclasses:
AbstractAssertionGui, AbstractPostProcessorGui

public abstract class AbstractScopedJMeterGuiComponent extends AbstractJMeterGuiComponent
See Also:
  • Constructor Details

    • AbstractScopedJMeterGuiComponent

      public AbstractScopedJMeterGuiComponent()
  • Method Details

    • clearGui

      public void clearGui()
      Description copied from class: AbstractJMeterGuiComponent
      Provides a default implementation that resets the name field to the value of getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things cleared, in which case you should override, clear the extra fields, and still call super.clearGui().
      Specified by:
      clearGui in interface ClearGui
      Overrides:
      clearGui in class AbstractJMeterGuiComponent
    • createPopupMenu

      public JPopupMenu createPopupMenu()
      When a user right-clicks on the component in the test tree, or selects the edit menu when the component is selected, the component will be asked to return a JPopupMenu that provides all the options available to the user from this component.

      This implementation returns menu items appropriate for most assertion components.

      Returns:
      a JPopupMenu appropriate for the component.
    • createScopePanel

      protected JPanel createScopePanel()
      Create the scope settings panel.
      Returns:
      the scope settings panel
    • createScopePanel

      protected JPanel createScopePanel(boolean enableVariable)
      Create the scope settings panel.
      Parameters:
      enableVariable - set true to enable the variable panel
      Returns:
      the scope settings panel
    • createScopePanel

      protected JPanel createScopePanel(boolean enableVariable, boolean enableParentAndSubsamples, boolean enableSubsamplesOnly)
      Create the scope settings panel.
      Parameters:
      enableVariable - set true to enable the variable panel
      enableParentAndSubsamples - set true to enable the parent and sub-samples
      enableSubsamplesOnly - set true to enable the sub-samples only
      Returns:
      the scope settings panel
    • saveScopeSettings

      protected void saveScopeSettings(AbstractScopedTestElement testElement)
      Save the scope settings in the test element.
      Parameters:
      testElement - the test element to save the settings into
    • showScopeSettings

      protected void showScopeSettings(AbstractScopedTestElement testElement)
      Show the scope settings from the test element.
      Parameters:
      testElement - the test element from which the settings should be shown
    • showScopeSettings

      protected void showScopeSettings(AbstractScopedTestElement testElement, boolean enableVariableButton)
      Show the scope settings from the test element with variable scope
      Parameters:
      testElement - the test element from which the settings should be shown
      enableVariableButton - set true to enable the variable panel