org.apache.jmeter.protocol.http.control.gui

Class AjpSamplerGui

Implemented Interfaces:
JMeterGUIComponent, Printable

public class AjpSamplerGui
extends HttpTestSampleGui

Field Summary

Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent

namePanel

Constructor Summary

AjpSamplerGui()

Method Summary

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.

Methods inherited from class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui

clearGui, configure, createTestElement, getLabelResource, getPreferredSize, modifyTestElement

Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui

createPopupMenu, getMenuCategories

Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent

clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode

Constructor Details

AjpSamplerGui

public AjpSamplerGui()

Method Details

createTestElement

public TestElement createTestElement()
JMeter test components are separated into a model and a GUI representation. The model holds the data and the GUI displays it. The GUI class is responsible for knowing how to create and initialize with data the model class that it knows how to display, and this method is called when new test elements are created.
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in interface HttpTestSampleGui
Returns:
the Test Element object that the GUI component represents.

getDocAnchor

public String getDocAnchor()
Get the component's document anchor name. Used by Help to find the appropriate location in the documentation
Specified by:
getDocAnchor in interface JMeterGUIComponent
Overrides:
getDocAnchor in interface AbstractJMeterGuiComponent
Returns:
Document anchor (#ref) for the component.

getStaticLabel

public String getStaticLabel()
Get the component's label. This label is used in drop down lists that give the user the option of choosing one type of component in a list of many. It should therefore be a descriptive name for the end user to see. It must be unique to the class. It is also used by Help to find the appropriate location in the documentation. Normally getLabelResource() should be overridden instead of this method; the definition of this method in AbstractJMeterGuiComponent is intended for general use.
Specified by:
getStaticLabel in interface JMeterGUIComponent
Overrides:
getStaticLabel in interface AbstractJMeterGuiComponent
Returns:
GUI label for the component.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.