org.apache.jmeter.protocol.jms.control.gui

Class JMSSubscriberGui

Implemented Interfaces:
ActionListener, ChangeListener, JMeterGUIComponent, Printable

public class JMSSubscriberGui
extends AbstractSamplerGui
implements ActionListener, ChangeListener

This is the GUI for JMS Subscriber

Field Summary

static String
ON_MESSAGE_RSC
static String
RECEIVE_RSC

Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent

namePanel

Constructor Summary

JMSSubscriberGui()

Method Summary

void
actionPerformed(ActionEvent event)
method from ActionListener
void
clearGui()
Clear the gui and return it to initial default values.
void
configure(TestElement el)
the implementation loads the URL and the soap action for the request.
TestElement
createTestElement()
String
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language.
void
modifyTestElement(TestElement s)
Modifies a given TestElement to mirror the data in the gui components.
void
stateChanged(ChangeEvent event)
When the state of a widget changes, it will notify the gui. the method then enables or disables certain parameters.

Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui

createPopupMenu, getMenuCategories

Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent

clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode

Field Details

ON_MESSAGE_RSC

public static final String ON_MESSAGE_RSC

RECEIVE_RSC

public static final String RECEIVE_RSC

Constructor Details

JMSSubscriberGui

public JMSSubscriberGui()

Method Details

actionPerformed

public void actionPerformed(ActionEvent event)
method from ActionListener
Parameters:
event - that occurred

clearGui

public void clearGui()
Clear the gui and return it to initial default values. This is necessary because most gui classes are instantiated just once and re-used for multiple test element objects and thus they need to be cleared between use.
Specified by:
clearGui in interface JMeterGUIComponent
Overrides:
clearGui in interface AbstractJMeterGuiComponent

configure

public void configure(TestElement el)
the implementation loads the URL and the soap action for the request.
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in interface AbstractJMeterGuiComponent

createTestElement

public TestElement createTestElement()
Specified by:
createTestElement in interface JMeterGUIComponent

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.
Specified by:
getLabelResource in interface JMeterGUIComponent
Returns:
the resource name

modifyTestElement

public void modifyTestElement(TestElement s)
Modifies a given TestElement to mirror the data in the gui components.
Specified by:
modifyTestElement in interface JMeterGUIComponent

stateChanged

public void stateChanged(ChangeEvent event)
When the state of a widget changes, it will notify the gui. the method then enables or disables certain parameters.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.