|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.jmeter.gui.AbstractJMeterGuiComponent
org.apache.jmeter.samplers.gui.AbstractSamplerGui
org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui
org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui2
public class HttpTestSampleGui2
HTTP Sampler GUI for Apache HTTPClient HTTP implementation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
---|
namePanel |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
HttpTestSampleGui2()
|
Method Summary | |
---|---|
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 element)
A newly created gui component can be initialized with the contents of a Test Element object by calling this method. |
protected JPanel |
createOptionalTasksPanel()
|
TestElement |
createTestElement()
JMeter test components are separated into a model and a GUI representation. |
String |
getDocAnchor()
Get the component's document anchor name. |
String |
getStaticLabel()
Get the component's label. |
void |
modifyTestElement(TestElement sampler)
Modifies a given TestElement to mirror the data in the gui components. |
Methods inherited from class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui |
---|
getLabelResource, getPreferredSize |
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui |
---|
createPopupMenu, getMenuCategories |
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
---|
configureTestElement, createTitleLabel, getComment, getName, getNamePanel, getPrintableComponent, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpTestSampleGui2()
Method Detail |
---|
public TestElement createTestElement()
createTestElement
in interface JMeterGUIComponent
createTestElement
in class HttpTestSampleGui
public String getStaticLabel()
getStaticLabel
in interface JMeterGUIComponent
getStaticLabel
in class AbstractJMeterGuiComponent
JMeterGUIComponent.getLabelResource()
public String getDocAnchor()
getDocAnchor
in interface JMeterGUIComponent
getDocAnchor
in class AbstractJMeterGuiComponent
protected JPanel createOptionalTasksPanel()
createOptionalTasksPanel
in class HttpTestSampleGui
public void clearGui()
clearGui
in interface JMeterGUIComponent
clearGui
in class HttpTestSampleGui
public void configure(TestElement element)
AbstractJMeterGuiComponent provides a partial implementation of this method, setting the name of the component and its enabled status. Subclasses should override this method, performing their own configuration as needed, but also calling this super-implementation.
configure
in interface JMeterGUIComponent
configure
in class HttpTestSampleGui
element
- the TestElement to configurepublic void modifyTestElement(TestElement sampler)
GUI components are responsible for populating TestElements they create with the data currently held in the GUI components. This method should overwrite whatever data is currently in the TestElement as it is called after a user has filled out the form elements in the gui with new information.
modifyTestElement
in interface JMeterGUIComponent
modifyTestElement
in class HttpTestSampleGui
sampler
- the TestElement to modify
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |