java.lang.Object
org.jpo.gui.NodeStatisticsController
a panel that shows some counts about the collection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the JComponent representing the statisticsvoid
This method will update the statistics based on the current Node Statistics object.void
updateStats
(DefaultMutableTreeNode statisticsNode) This method will update the statistics based on the supplied input node.
-
Constructor Details
-
NodeStatisticsController
public NodeStatisticsController()
-
-
Method Details
-
getJComponent
Returns the JComponent representing the statistics- Returns:
- the JComponent
-
updateStats
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.
-