|
Apache JMeter 2.0.1.20050615 |
|||||||||
| 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.AbstractVisualizer
org.apache.jmeter.visualizers.MonitorHealthVisualizer
For performance reasons, I am using tabs for the visualizers. Since a visualizer is heavy weight, I don not want to have two separate result collectors rather the same information. Instead, I would rather have the visualizer be the container for the data and simply pass the data to child JComponents. In the future, we may want to add email alerts as a third tab.
| 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 | |
static String |
BUFFER
|
| Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer |
collector |
| 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 | |
MonitorHealthVisualizer()
Constructor for the GraphVisualizer object. |
|
| Method Summary | |
void |
add(SampleResult res)
Because of the unique requirements of a monitor We have to handle the results differently than normal GUI components. |
void |
clear()
Clear will clear the MonitorAccumModel and create a new instance. |
void |
createHealthPane(MonitorTabPane pane)
Create the JPanel |
void |
createPerformancePane(MonitorTabPane pane)
Create the JSplitPane for the performance history |
protected void |
createTabs()
|
TestElement |
createTestElement()
JMeter test components are separated into a model and a GUI representation. |
Image |
getImage()
|
String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
void |
itemStateChanged(ItemEvent e)
|
protected Container |
makeTitlePanel()
Create a standard title section for JMeter components. |
void |
updateGui()
|
void |
updateGui(Sample s)
|
| Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer |
configure, configureTestElement, createPopupMenu, getErrorLoggingCheckbox, getFile, getFilePanel, getMenuCategories, getModel, modifyTestElement, setFile, setModel, stateChanged |
| Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
configureTestElement, createTitleLabel, getDocAnchor, getName, getNamePanel, getNode, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, 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 |
| Field Detail |
public static final String BUFFER
| Constructor Detail |
public MonitorHealthVisualizer()
| Method Detail |
public String getLabelResource()
JMeterGUIComponent
getLabelResource in interface JMeterGUIComponentgetLabelResource in class AbstractJMeterGuiComponentpublic void add(SampleResult res)
add in interface Visualizerpublic Image getImage()
getImage in interface ImageVisualizerpublic void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenerpublic void updateGui()
updateGui in interface GraphListenerpublic void updateGui(Sample s)
updateGui in interface GraphListenerprotected void createTabs()
public void createHealthPane(MonitorTabPane pane)
pane - public void createPerformancePane(MonitorTabPane pane)
pane - protected Container makeTitlePanel()
AbstractVisualizerThis method is typically added to the top of the component at the beginning of the component's init method.
makeTitlePanel in class AbstractVisualizerpublic void clear()
clear in interface Clearableclear in class AbstractJMeterGuiComponentpublic TestElement createTestElement()
JMeterGUIComponent
createTestElement in interface JMeterGUIComponentcreateTestElement in class AbstractVisualizer
|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||