org.mactor.ui.gui.testrunner
Class RunningTestTreePanel.ProjectModel

java.lang.Object
  extended by org.mactor.ui.gui.testrunner.RunningTestTreePanel.ProjectModel
All Implemented Interfaces:
javax.swing.tree.TreeModel
Enclosing class:
RunningTestTreePanel

public class RunningTestTreePanel.ProjectModel
extends java.lang.Object
implements javax.swing.tree.TreeModel


Constructor Summary
RunningTestTreePanel.ProjectModel(ProjectTreeNode root)
           
 
Method Summary
 void addTreeModelListener(javax.swing.event.TreeModelListener l)
           
 java.lang.Object getChild(java.lang.Object node, int index)
           
 int getChildCount(java.lang.Object node)
           
 int getIndexOfChild(java.lang.Object node, java.lang.Object child)
           
 ProjectTreeNode getRoot()
           
 boolean isLeaf(java.lang.Object node)
           
 void removeTreeModelListener(javax.swing.event.TreeModelListener l)
           
 void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunningTestTreePanel.ProjectModel

public RunningTestTreePanel.ProjectModel(ProjectTreeNode root)
                                  throws MactorException
Throws:
MactorException
Method Detail

getChild

public java.lang.Object getChild(java.lang.Object node,
                                 int index)
Specified by:
getChild in interface javax.swing.tree.TreeModel

getChildCount

public int getChildCount(java.lang.Object node)
Specified by:
getChildCount in interface javax.swing.tree.TreeModel

getIndexOfChild

public int getIndexOfChild(java.lang.Object node,
                           java.lang.Object child)
Specified by:
getIndexOfChild in interface javax.swing.tree.TreeModel

getRoot

public ProjectTreeNode getRoot()
Specified by:
getRoot in interface javax.swing.tree.TreeModel

isLeaf

public boolean isLeaf(java.lang.Object node)
Specified by:
isLeaf in interface javax.swing.tree.TreeModel

valueForPathChanged

public void valueForPathChanged(javax.swing.tree.TreePath path,
                                java.lang.Object newValue)
Specified by:
valueForPathChanged in interface javax.swing.tree.TreeModel

addTreeModelListener

public void addTreeModelListener(javax.swing.event.TreeModelListener l)
Specified by:
addTreeModelListener in interface javax.swing.tree.TreeModel

removeTreeModelListener

public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
Specified by:
removeTreeModelListener in interface javax.swing.tree.TreeModel


Copyright © 2008. All Rights Reserved.