|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--org.apache.jmeter.gui.tree.JMeterTreeNode
Field Summary |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
JMeterTreeNode(TestElement userObj,
JMeterTreeModel treeModel)
|
Method Summary | |
void |
clear()
Clear the gui and return it to initial default values. |
void |
configure(TestElement element)
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. |
ImageIcon |
getIcon()
|
Collection |
getMenuCategories()
This is the list of add menu categories this gui component will be available under. |
String |
getName()
Gets the name of the JMeter GUI component. |
String |
getStaticLabel()
Get the component's label. |
boolean |
isEnabled()
Test GUI elements can be disabled, in which case they do not become part of the test when run. |
void |
modifyTestElement(TestElement el)
Modifies a given TestElement to mirror the data in the gui components. |
void |
nameChanged()
|
void |
setEnabled(boolean enabled)
Set whether this component is enabled |
void |
setName(String name)
Sets the name of the JMeter GUI Component. |
void |
setNode(JMeterTreeNode node)
Sets the tree node which this component is associated with |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JMeterTreeNode(TestElement userObj, JMeterTreeModel treeModel)
Method Detail |
public boolean isEnabled()
JMeterGUIComponent
isEnabled
in interface JMeterGUIComponent
public void setEnabled(boolean enabled)
JMeterGUIComponent
setEnabled
in interface JMeterGUIComponent
public void clear()
JMeterGUIComponent
clear
in interface JMeterGUIComponent
public ImageIcon getIcon()
public Collection getMenuCategories()
JMeterGUIComponent
getMenuCategories
in interface JMeterGUIComponent
MenuFactory
public JPopupMenu createPopupMenu()
JMeterGUIComponent
createPopupMenu
in interface JMeterGUIComponent
public void configure(TestElement element)
JMeterGUIComponent
configure
in interface JMeterGUIComponent
element
- the TestElement to configurepublic void modifyTestElement(TestElement el)
modifyTestElement
in interface JMeterGUIComponent
el
- the TestElement to modifypublic TestElement createTestElement()
JMeterGUIComponent
createTestElement
in interface JMeterGUIComponent
public String getStaticLabel()
JMeterGUIComponent
getStaticLabel
in interface JMeterGUIComponent
public void setName(String name)
JMeterGUIComponent
setName
in interface JMeterGUIComponent
name
- the name of the componentpublic String getName()
JMeterGUIComponent
getName
in interface JMeterGUIComponent
public void setNode(JMeterTreeNode node)
JMeterGUIComponent
setNode
in interface JMeterGUIComponent
public void nameChanged()
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |