org.apache.jmeter.timers.gui
Class ConstantTimerGui
- JMeterGUIComponent, Printable
public class ConstantTimerGui
The GUI for ConstantTimer.
void | clearGui() - Provides a default implementation that resets the name field to the value of
getStaticLabel(), reset comment and sets enabled to true.
|
void | configure(TestElement el) - Configure this GUI component from the underlying TestElement.
|
TestElement | createTestElement() - Create the test element underlying this GUI component.
|
static void | error(Exception e, JComponent thrower) - Handle an error.
|
String | getLabelResource() - Get the component's resource name, which getStaticLabel uses to derive
the component's label in the local language.
|
void | modifyTestElement(TestElement timer) - Modifies a given TestElement to mirror the data in the gui components.
|
clearGui , configure , configureTestElement , createTitleLabel , getComment , getDocAnchor , getName , getNamePanel , getNode , getPrintableComponent , getStaticLabel , isEnabled , makeBorder , makeScrollPane , makeScrollPane , makeTitlePanel , setComment , setEnabled , setName , setNode |
ConstantTimerGui
public ConstantTimerGui()
No-arg constructor.
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().
- clearGui in interface JMeterGUIComponent
- clearGui in interface AbstractJMeterGuiComponent
error
public static void error(Exception e,
JComponent thrower)
Handle an error.
e
- the Exception that was thrown.thrower
- the JComponent that threw the Exception.
getLabelResource
public String getLabelResource()
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.
- getLabelResource in interface JMeterGUIComponent
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.