cyvis.gui
Class TablePane

java.lang.Object
  extended by cyvis.gui.TablePane

public class TablePane
extends Object

Generates a table that displays the metrics.


Constructor Summary
TablePane()
           
 
Method Summary
 void emptyTable()
          Used to empty the table.
 JScrollPane getPane()
          returns the table in a scrollpane
 void updateTable(ClassMetric classMetric)
          Updates the table to show the class level information.
 void updateTable(PackageMetric packageMetric)
          Updates the table to show the package level information.
 void updateTable(ProjectMetric project)
          Updates the table to show the project level information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TablePane

public TablePane()
Method Detail

getPane

public JScrollPane getPane()
returns the table in a scrollpane

Returns:
JScrollPane containing the table that contains the metrics

updateTable

public void updateTable(ProjectMetric project)
Updates the table to show the project level information

Parameters:
project - the project metrics object.

updateTable

public void updateTable(PackageMetric packageMetric)
Updates the table to show the package level information.

Parameters:
packageMetric - the package metrics object

updateTable

public void updateTable(ClassMetric classMetric)
Updates the table to show the class level information.

Parameters:
classMetric - the class metrics object

emptyTable

public void emptyTable()
Used to empty the table.