org.apache.jmeter.protocol.java.config.gui

Class JavaConfigGui

Implemented Interfaces:
ActionListener, JMeterGUIComponent, Printable

public class JavaConfigGui
extends AbstractConfigGui
implements ActionListener

The JavaConfigGui class provides the user interface for the JavaConfig object.

Field Summary

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

namePanel

Constructor Summary

JavaConfigGui()
Create a new JavaConfigGui as a standalone component.
JavaConfigGui(boolean displayNameField)
Create a new JavaConfigGui as either a standalone or an embedded component.

Method Summary

void
actionPerformed(ActionEvent evt)
Handle action events for this component.
void
configure(TestElement config)
TestElement
createTestElement()
String
getLabelResource()
void
modifyTestElement(TestElement config)

Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui

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

JavaConfigGui

public JavaConfigGui()
Create a new JavaConfigGui as a standalone component.

JavaConfigGui

public JavaConfigGui(boolean displayNameField)
Create a new JavaConfigGui as either a standalone or an embedded component.
Parameters:
displayNameField - tells whether the component name should be displayed with the GUI. If true, this is a standalone component. If false, this component is embedded in some other component.

Method Details

actionPerformed

public void actionPerformed(ActionEvent evt)
Handle action events for this component. This method currently handles events for the classname combo box.
Parameters:
evt - the ActionEvent to be handled

configure

public void configure(TestElement config)
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in interface AbstractJMeterGuiComponent

createTestElement

public TestElement createTestElement()
Specified by:
createTestElement in interface JMeterGUIComponent

getLabelResource

public String getLabelResource()
Specified by:
getLabelResource in interface JMeterGUIComponent

modifyTestElement

public void modifyTestElement(TestElement config)
Specified by:
modifyTestElement in interface JMeterGUIComponent

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