|
Apache JMeter 2.0.1.20050615 |
|||||||||
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.control.gui.WorkBenchGui
JMeter GUI component representing a work bench where users can make preparations for the test plan.
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 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 | |
WorkBenchGui()
Create a new WorkbenchGui. |
Method Summary | |
void |
configure(TestElement element)
A newly created component can be initialized with the contents of a Test Element object by calling this method. |
JPopupMenu |
createPopupMenu()
When a user right-clicks on the component in the test tree, or selects the edit menu when the component is selected, the component will be asked to return a JPopupMenu that provides all the options available to the user from this component. |
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. |
Collection |
getMenuCategories()
This is the list of menu categories this gui component will be available under. |
void |
modifyTestElement(TestElement wb)
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.gui.AbstractJMeterGuiComponent |
clear, configureTestElement, createTitleLabel, getDocAnchor, getName, getNamePanel, getNode, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, 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 WorkBenchGui()
Method Detail |
public Collection getMenuCategories()
MenuFactory
public TestElement createTestElement()
JMeterGUIComponent
public void modifyTestElement(TestElement wb)
JMeterGUIComponent
wb
- the TestElement to modifypublic void configure(TestElement element)
configure
in interface JMeterGUIComponent
configure
in class AbstractJMeterGuiComponent
element
- the TestElement to configurepublic JPopupMenu createPopupMenu()
The WorkBench will return a popup menu allowing you to add Controllers, Samplers, Configuration Elements, and Non-test Elements.
public String getLabelResource()
JMeterGUIComponent
getLabelResource
in interface JMeterGUIComponent
getLabelResource
in class AbstractJMeterGuiComponent
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |