org.apache.jmeter.visualizers

Class MonitorPerformancePanel

Implemented Interfaces:
TreeSelectionListener, Clearable, MonitorListener

public class MonitorPerformancePanel
extends JSplitPane
implements TreeSelectionListener, MonitorListener, Clearable

Constructor Summary

MonitorPerformancePanel()
Deprecated. Only for use in unit testing
MonitorPerformancePanel(MonitorAccumModel model, MonitorGraph graph)

Method Summary

void
addSample(MonitorModel model)
MonitorAccumModel will call this method to notify the component data has changed.
void
clearData()
clear will remove all child nodes from the ROOTNODE, clear the HashMap, update the graph and jpanel for the server tree.
void
valueChanged(TreeSelectionEvent e)
When the user selects a different node in the tree, we get the selected node.

Constructor Details

MonitorPerformancePanel

public MonitorPerformancePanel()

Deprecated. Only for use in unit testing


MonitorPerformancePanel

public MonitorPerformancePanel(MonitorAccumModel model,
                               MonitorGraph graph)

Method Details

addSample

public void addSample(MonitorModel model)
MonitorAccumModel will call this method to notify the component data has changed.
Specified by:
addSample in interface MonitorListener

clearData

public void clearData()
clear will remove all child nodes from the ROOTNODE, clear the HashMap, update the graph and jpanel for the server tree.
Specified by:
clearData in interface Clearable

valueChanged

public void valueChanged(TreeSelectionEvent e)
When the user selects a different node in the tree, we get the selected node. From the node, we get the UserObject used to create the treenode in the constructor.

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