|
www.sdmetrics.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--sdmetrics.app.TreeViewCC
Class to provide the tree representations of connected components.
| Constructor Summary | |
TreeViewCC(sdmetrics.metrics.MetricsEngine me)
Constructor. |
|
| Method Summary | |
DataTable |
getCCDataTable()
Obtain a data table with the values of the connected component metrics for all model elements. |
java.lang.String[] |
getCCMetricsList()
Get the descriptions of the available connected component metrics. |
javax.swing.tree.DefaultMutableTreeNode |
getConnectedComponents(int metric,
int element)
Obtain a tree showing the connected components for a particual metric and element. |
java.lang.String |
getMetricName(int index)
Get the name of a connected component metric. |
int |
getMetricType(int index)
Get the model element type for which a connected component metric is defined. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeViewCC(sdmetrics.metrics.MetricsEngine me)
me - Metrics engine on which this tree is based.| Method Detail |
public java.lang.String[] getCCMetricsList()
public java.lang.String getMetricName(int index)
index - Index of the connected component metric. The index
corresponds to the index of the metrics in the list returned by
getCCMetricsList().
public int getMetricType(int index)
index - Index of the connected component metric. The index
corresponds to the index of the metrics in the list returned by
getCCMetricsList().
public DataTable getCCDataTable()
DataTable with the values of the connected component metrics.
public javax.swing.tree.DefaultMutableTreeNode getConnectedComponents(int metric,
int element)
metric - Index of the connected component metric to show. The index
corresponds to the index of the metrics in the list returned by
getCCMetricsList().element - Index of the element for which to display the
connected components. The index corresponds to the element's index
in the ElementPool.
|
www.sdmetrics.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||