|
Apache JMeter 1.9 |
|||||||||
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.threads.gui.ThreadGroupGui
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 | |
ThreadGroupGui()
|
Method Summary | |
void |
configure(TestElement tg)
A newly created gui component can be initialized with the contents of a Test Element object by calling this method. |
JPanel |
createControllerPanel()
|
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. |
Collection |
getMenuCategories()
This is the list of add menu categories this gui component will be available under. |
Dimension |
getPreferredSize()
|
String |
getStaticLabel()
Get the component's label. |
void |
itemStateChanged(ItemEvent ie)
|
void |
modifyTestElement(TestElement tg)
Modifies a given TestElement to mirror the data in the gui components. |
void |
setNode(JMeterTreeNode node)
Provides a default implementation for the node property. |
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
clear, configureTestElement, createTitleLabel, getName, getNamePanel, getNode, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, 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 ThreadGroupGui()
Method Detail |
public Collection getMenuCategories()
JMeterGUIComponent
getMenuCategories
in interface JMeterGUIComponent
MenuFactory
public TestElement createTestElement()
JMeterGUIComponent
createTestElement
in interface JMeterGUIComponent
public void modifyTestElement(TestElement tg)
modifyTestElement
in interface JMeterGUIComponent
tg
- the TestElement to modifyJMeterGUIComponent#modifyTestElement(TestElement)
public void configure(TestElement tg)
AbstractJMeterGuiComponent
AbstractJMeterGuiComponent 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 JMeterGUIComponent
configure
in class AbstractJMeterGuiComponent
tg
- the TestElement to configurepublic void itemStateChanged(ItemEvent ie)
itemStateChanged
in interface ItemListener
public JPopupMenu createPopupMenu()
JMeterGUIComponent
createPopupMenu
in interface JMeterGUIComponent
public JPanel createControllerPanel()
public String getStaticLabel()
JMeterGUIComponent
getStaticLabel
in interface JMeterGUIComponent
public void setNode(JMeterTreeNode node)
AbstractJMeterGuiComponent
setNode
in interface JMeterGUIComponent
setNode
in class AbstractJMeterGuiComponent
public Dimension getPreferredSize()
getPreferredSize
in class JComponent
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |