org.apache.jmeter.control.gui
Class AbstractControllerGui
- JMeterGUIComponent, Printable
public abstract class AbstractControllerGui
This is the base class for JMeter GUI components which manage controllers.
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.
|
Collection | getMenuCategories()- This is the list of menu categories this gui component will be available
under.
|
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode |
createPopupMenu
public 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.
This implementation returns menu items appropriate for most controller
components.
- createPopupMenu in interface JMeterGUIComponent
- a JPopupMenu appropriate for the component.
getMenuCategories
public Collection getMenuCategories()
This is the list of menu categories this gui component will be available
under. This implementation returns
MenuFactory.CONTROLLERS, which is
appropriate for most controller components.
- getMenuCategories in interface JMeterGUIComponent
- a Collection of Strings, where each element is one of the
constants defined in MenuFactory
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.