|
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.NamePanel
| 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 | |
NamePanel()
Create a new NamePanel with the default name. |
|
| Method Summary | |
void |
clearGui()
Clear the gui and return it to initial default values. |
void |
configure(TestElement testElement)
The GUI must be able to extract the data from the TestElement and update all GUI fields to represent those data. |
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 |
getDocAnchor()
Get the component's document anchor name. |
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 add menu categories this gui component will be available under. |
String |
getName()
Get the currently displayed name. |
protected TreeNode |
getNode()
Get the tree node which this component provides the name for. |
String |
getStaticLabel()
Get the component's label. |
void |
modifyTestElement(TestElement wb)
GUI components are responsible for populating TestElements they create with the data currently held in the GUI components. |
void |
setName(String name)
Set the name displayed in this component. |
void |
setNode(TreeNode node)
Set the tree node which this component provides the name for. |
| 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 |
| Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent |
isEnabled, setEnabled |
| Constructor Detail |
public NamePanel()
| Method Detail |
public void clearGui()
JMeterGUIComponent
clearGui in interface JMeterGUIComponentpublic String getName()
getName in interface JMeterGUIComponentpublic void setName(String name)
setName in interface JMeterGUIComponentname - the name to displayprotected TreeNode getNode()
public void setNode(TreeNode node)
setNode in interface JMeterGUIComponentnode - the tree node corresponding to this componentpublic void configure(TestElement testElement)
JMeterGUIComponent
configure in interface JMeterGUIComponenttestElement - the TestElement to configurepublic JPopupMenu createPopupMenu()
JMeterGUIComponent
createPopupMenu in interface JMeterGUIComponentpublic String getStaticLabel()
JMeterGUIComponent
getStaticLabel in interface JMeterGUIComponentJMeterGUIComponent.getLabelResource()public String getLabelResource()
JMeterGUIComponent
getLabelResource in interface JMeterGUIComponentpublic Collection getMenuCategories()
JMeterGUIComponent
getMenuCategories in interface JMeterGUIComponentMenuFactorypublic TestElement createTestElement()
JMeterGUIComponent
createTestElement in interface JMeterGUIComponentpublic void modifyTestElement(TestElement wb)
JMeterGUIComponent
modifyTestElement in interface JMeterGUIComponentwb - the TestElement to modifypublic String getDocAnchor()
JMeterGUIComponent
getDocAnchor in interface JMeterGUIComponent
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||