Module org.jpo
Package org.jpo.gui

Class NodeStatisticsController

java.lang.Object
org.jpo.gui.NodeStatisticsController

public class NodeStatisticsController extends Object
a panel that shows some counts about the collection
  • Constructor Details

    • NodeStatisticsController

      public NodeStatisticsController()
  • Method Details

    • getJComponent

      public JComponent getJComponent()
      Returns the JComponent representing the statistics
      Returns:
      the JComponent
    • updateStats

      public void updateStats(DefaultMutableTreeNode statisticsNode)
      This method will update the statistics based on the supplied input node.
      Parameters:
      statisticsNode - The node that is being analysed.
    • updateStats

      public void updateStats()
      This method will update the statistics based on the current Node Statistics object. It has an embedded SwingWorker class to do the stats work on a background thread and then offload the updates into the EDT.