|
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.config.gui.AbstractConfigGui
org.apache.jmeter.protocol.java.config.gui.JavaConfigGui
The JavaConfigGui class provides the user interface for the
JavaConfig object.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, 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 | |
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)
A newly created gui component can be initialized with the contents of a Test Element object by calling this method. |
TestElement |
createTestElement()
JMeter test components are separated into a model and a GUI representation. |
String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
void |
modifyTestElement(TestElement config)
GUI components are responsible for populating TestElements they create with the data currently held in the GUI components. |
| Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui |
createPopupMenu, getMenuCategories |
| Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode |
| 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 JavaConfigGui()
public JavaConfigGui(boolean displayNameField)
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 Detail |
public String getLabelResource()
JMeterGUIComponent
getLabelResource in interface JMeterGUIComponentpublic void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - the ActionEvent to be handledpublic void configure(TestElement config)
AbstractJMeterGuiComponentAbstractJMeterGuiComponent 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 JMeterGUIComponentconfigure in class AbstractJMeterGuiComponentconfig - the TestElement to configurepublic TestElement createTestElement()
JMeterGUIComponent
createTestElement in interface JMeterGUIComponentpublic void modifyTestElement(TestElement config)
JMeterGUIComponent
modifyTestElement in interface JMeterGUIComponentconfig - the TestElement to modify
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||