|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.model.TreeModelSupport
edu.iastate.metnet.model.AbstractTreeModel
edu.iastate.metnet.model.CategoryTreeModel
public class CategoryTreeModel
tree model for pathway category
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
| Constructor Summary | |
|---|---|
CategoryTreeModel(org._3pq.jgrapht.DirectedGraph classNet)
default constrcutor |
|
| Method Summary | |
|---|---|
java.lang.Object |
getChild(java.lang.Object parent,
int index)
return the child node at the index position. |
int |
getChildCount(java.lang.Object parent)
get the size of the children |
org._3pq.jgrapht.DirectedGraph |
getClassNet()
|
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
get the index of one child |
java.lang.Object |
getRoot()
find the root |
boolean |
isLeaf(java.lang.Object node)
if it is a leaf |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
|
| Methods inherited from class edu.iastate.metnet.model.TreeModelSupport |
|---|
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, removeTreeModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.tree.TreeModel |
|---|
addTreeModelListener, removeTreeModelListener |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public CategoryTreeModel(org._3pq.jgrapht.DirectedGraph classNet)
classNet - the class net| Method Detail |
|---|
public java.lang.Object getChild(java.lang.Object parent,
int index)
public int getChildCount(java.lang.Object parent)
public int getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
public java.lang.Object getRoot()
public boolean isLeaf(java.lang.Object node)
public void valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
public org._3pq.jgrapht.DirectedGraph getClassNet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||