org.apache.jmeter.report.gui
Class AbstractReportGui
- JMeterGUIComponent, Printable
public abstract class AbstractReportGui
This is the abstract base for report gui's
void | configureTestElement(TestElement element)
|
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.
|
protected Component | createTitleLabel() - This implementaion differs a bit from the normal jmeter gui. it uses
a white background instead of the default grey.
|
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.
|
protected Container | makeTitlePanel() - This implementaion differs a bit from the normal jmeter gui. it uses
a white background instead of the default grey.
|
clearGui , configure , configureTestElement , createTitleLabel , getComment , getDocAnchor , getName , getNamePanel , getNode , getPrintableComponent , getStaticLabel , isEnabled , makeBorder , makeScrollPane , makeScrollPane , makeTitlePanel , setComment , setEnabled , setName , setNode |
AbstractReportGui
public AbstractReportGui()
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.
- createPopupMenu in interface JMeterGUIComponent
- a JPopupMenu appropriate for the component.
createTitleLabel
protected Component createTitleLabel()
This implementaion differs a bit from the normal jmeter gui. it uses
a white background instead of the default grey.
- createTitleLabel in interface AbstractJMeterGuiComponent
getLabelResource
public String getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive
the component's label in the local language. The resource name is fixed,
and does not vary with the selected language.
Normally this method should be overriden in preference to overriding
getStaticLabel(). However where the resource name is not available or required,
getStaticLabel() may be overridden instead.
- getLabelResource in interface JMeterGUIComponent
getMenuCategories
public Collection getMenuCategories()
This is the list of add menu categories this gui component will be
available under. For instance, if this represents a Controller, then the
MenuFactory.CONTROLLERS category should be in the returned collection.
When a user right-clicks on a tree element and looks through the "add"
menu, which category your GUI component shows up in is determined by
which categories are returned by this method. Most GUI's belong to only
one category, but it is possible for a component to exist in multiple
categories.
- getMenuCategories in interface JMeterGUIComponent
- a Collection of Strings, where each element is one of the
constants defined in MenuFactory
makeTitlePanel
protected Container makeTitlePanel()
This implementaion differs a bit from the normal jmeter gui. it uses
a white background instead of the default grey.
- makeTitlePanel in interface AbstractJMeterGuiComponent
- a panel containing the component title and name panel
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.