|
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.visualizers.gui.AbstractListenerGui
org.apache.jmeter.visualizers.gui.AbstractVisualizer
org.apache.jmeter.visualizers.MailerVisualizer
public class MailerVisualizer
This class implements a visualizer that mails a message when an error occurs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer |
|---|
collector, isStats |
| 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 | |
|---|---|
MailerVisualizer()
Constructs the MailerVisualizer and initializes its GUI. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Reacts on an ActionEvent (like pressing a button). |
void |
add(SampleResult res)
This method is called by sampling thread to inform the visualizer about the arrival of a new sample. |
void |
clearData()
Clears any stored sampling-informations. |
void |
configure(TestElement el)
Restores MailerVisualizer. |
TestElement |
createTestElement()
Makes MailerVisualizer storable. |
String |
getAttributesTitle()
Returns a String for the title of the attributes-panel as set up in the properties-file using the lookup-constant "mailer_attributes_panel". |
JPanel |
getControlPanel()
|
String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
void |
modifyTestElement(TestElement c)
GUI components are responsible for populating TestElements they create with the data currently held in the GUI components. |
void |
stateChanged(ChangeEvent e)
Invoked when the target of the listener has changed its state. |
String |
toString()
|
| Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer |
|---|
clearGui, configureTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, setFile, setModel |
| Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui |
|---|
createPopupMenu, getMenuCategories |
| Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
|---|
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, 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 MailerVisualizer()
| Method Detail |
|---|
public JPanel getControlPanel()
public void clearData()
clearData in interface Clearablepublic void add(SampleResult res)
Visualizer
add in interface Visualizerres - the newly arrived samplepublic String toString()
toString in class Componentpublic String getLabelResource()
JMeterGUIComponent
getLabelResource in interface JMeterGUIComponentpublic String getAttributesTitle()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - The ActionEvent with information about the event and its
source.public void configure(TestElement el)
configure in interface JMeterGUIComponentconfigure in class AbstractVisualizerel - the TestElement to configurepublic TestElement createTestElement()
createTestElement in interface JMeterGUIComponentcreateTestElement in class AbstractVisualizerpublic void modifyTestElement(TestElement c)
modifyTestElement in interface JMeterGUIComponentmodifyTestElement in class AbstractVisualizerc - the TestElement to modifypublic void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenerstateChanged in class AbstractVisualizere - the event that has occurred
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||