org.apache.jmeter.assertions.gui

Class XMLAssertionGui

Implemented Interfaces:
JMeterGUIComponent, Printable

public class XMLAssertionGui
extends AbstractAssertionGui

Field Summary

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

namePanel

Constructor Summary

XMLAssertionGui()
The constructor.

Method Summary

void
configure(TestElement el)
Configures the associated test element.
TestElement
createTestElement()
JMeter test components are separated into a model and a GUI representation.
String
getLabelResource()
Returns the label to be shown within the JTree-Component.
void
modifyTestElement(TestElement el)
Modifies a given TestElement to mirror the data in the gui components.

Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui

clearGui, createPopupMenu, createScopePanel, getMenuCategories, saveScopeSettings, showScopeSettings

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

XMLAssertionGui

public XMLAssertionGui()
The constructor.

Method Details

configure

public void configure(TestElement el)
Configures the associated test element.
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in interface AbstractJMeterGuiComponent
Parameters:
el -

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
Returns:
the Test Element object that the GUI component represents.

getLabelResource

public String getLabelResource()
Returns the label to be shown within the JTree-Component.
Specified by:
getLabelResource in interface JMeterGUIComponent

modifyTestElement

public void modifyTestElement(TestElement el)
Modifies a given TestElement to mirror the data in the gui components.
Specified by:
modifyTestElement in interface JMeterGUIComponent

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