Class MonitorPerformancePanel

    • Constructor Detail

      • MonitorPerformancePanel

        @Deprecated
        public MonitorPerformancePanel()
        Deprecated.
        Only for use in unit testing
      • MonitorPerformancePanel

        public MonitorPerformancePanel​(MonitorAccumModel model,
                                       MonitorGraph graph)
        Parameters:
        model - model to use
        graph - graph to use
    • Method Detail

      • addSample

        public void addSample​(MonitorModel model)
        MonitorAccumModel will call this method to notify the component data has changed.
        Specified by:
        addSample in interface MonitorListener
      • 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.
        Specified by:
        valueChanged in interface TreeSelectionListener
      • 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