|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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.config.gui.SimpleConfigGui
public class SimpleConfigGui
Default config gui for Configuration Element.
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.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 | |
---|---|
SimpleConfigGui()
Create a new standalone SimpleConfigGui. |
|
SimpleConfigGui(boolean displayName)
Create a new SimpleConfigGui as either a standalone or an embedded component. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
protected void |
addArgument()
Add a new argument row to the table. |
protected void |
checkDeleteStatus()
Enable or disable the delete button depending on whether or not there is a row to be deleted. |
void |
configure(TestElement el)
A newly created 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. |
protected void |
deleteArgument()
Remove the currently selected argument from the table. |
String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
void |
modifyTestElement(TestElement el)
Get all of the values from the GUI component and set them in the TestElement. |
protected void |
stopTableEditing()
Stop any editing that is currently being done on the table. |
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, getPrintableComponent, getStaticLabel, 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 SimpleConfigGui()
public SimpleConfigGui(boolean displayName)
displayName
- indicates whether or not this component should display its
name. If true, this is a standalone component. If false, this
component is intended to be used as a subpanel for another
component.Method Detail |
---|
public String getLabelResource()
JMeterGUIComponent
getLabelResource
in interface JMeterGUIComponent
public void configure(TestElement el)
This implementation retrieves all key/value pairs from the TestElement object and sets these values in the GUI.
configure
in interface JMeterGUIComponent
configure
in class AbstractJMeterGuiComponent
el
- the TestElement to configurepublic TestElement createTestElement()
JMeterGUIComponent
createTestElement
in interface JMeterGUIComponent
public void modifyTestElement(TestElement el)
modifyTestElement
in interface JMeterGUIComponent
el
- the TestElement to modifypublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the event that has occurredprotected void checkDeleteStatus()
protected void addArgument()
protected void stopTableEditing()
protected void deleteArgument()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |