Class ConstantTimerGui

    • Constructor Detail

      • ConstantTimerGui

        public ConstantTimerGui()
        No-arg constructor.
    • Method Detail

      • error

        public static void error​(Exception e,
                                 JComponent thrower)
        Handle an error.
        Parameters:
        e - the Exception that was thrown.
        thrower - the JComponent that threw the Exception.
      • getLabelResource

        public String getLabelResource()
        Description copied from interface: JMeterGUIComponent
        Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. The resource name is fixed, and does not vary with the selected language. Normally this method should be overriden in preference to overriding getStaticLabel(). However where the resource name is not available or required, getStaticLabel() may be overridden instead.
        Returns:
        the resource name
      • clearGui

        public void clearGui()
        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