|
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.AbstractJMeterGuiComponent
org.apache.jmeter.assertions.gui.AbstractAssertionGui
This is the base class for JMeter GUI components which manage assertions. Assertions which can be applied to different scopes (parent, children or both) need to use the createScopePanel() to add the panel to the GUI, and they also need to use saveScopeSettings() and showScopeSettings() to keep the test element and GUI in synch.
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 org.apache.jmeter.gui.AbstractJMeterGuiComponent |
namePanel |
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 | |
AbstractAssertionGui()
|
Method Summary | |
void |
clearGui()
Provides a default implementation that resets the name field to the value of getStaticLabel(), reset comment and sets enabled to true. |
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 JPanel |
createScopePanel()
Create the scope settings panel. |
Collection |
getMenuCategories()
This is the list of menu categories this gui component will be available under. |
protected void |
saveScopeSettings(AbstractScopedAssertion assertion)
Save the scope settings in the test element. |
protected void |
showScopeSettings(AbstractScopedAssertion assertion)
Show the scope settings from the test element. |
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode |
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 |
createTestElement, getLabelResource, modifyTestElement |
Constructor Detail |
public AbstractAssertionGui()
Method Detail |
public JPopupMenu createPopupMenu()
This implementation returns menu items appropriate for most assertion components.
public Collection getMenuCategories()
MenuFactory.ASSERTIONS
, which is
appropriate for most assertion components.
MenuFactory
protected JPanel createScopePanel()
public void clearGui()
AbstractJMeterGuiComponent
clearGui
in interface JMeterGUIComponent
clearGui
in class AbstractJMeterGuiComponent
protected void saveScopeSettings(AbstractScopedAssertion assertion)
assertion
- protected void showScopeSettings(AbstractScopedAssertion assertion)
assertion
-
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |