jsystem.treeui
Class TestNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byjsystem.treeui.Node
          extended byjsystem.treeui.TestNode
All Implemented Interfaces:
Cloneable, MutableTreeNode, Serializable, TreeNode

public class TestNode
extends Node

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jsystem.treeui.Node
DEFAULT, ERROR, FAIL, isSelected, log, RUNNING, selectionChange, SUCCESS
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
TestNode(Node parent, Method userObject)
           
 
Method Summary
 String getName()
           
protected  int getTestsCount()
           
 boolean isLeaf()
           
protected  void loadDefaultSelection(TestSelector selector)
           
 void setSelected(boolean status)
           
 String toString()
           
 
Methods inherited from class jsystem.treeui.Node
cleanLeafsWithoutTests, getAllChildren, getRootUserObject, getStatus, initChildren, isClassPath, isSelected, returnSelectedToDefault, setClassPath, setStatus, toggleSelection
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestNode

public TestNode(Node parent,
                Method userObject)
Method Detail

getTestsCount

protected int getTestsCount()
Overrides:
getTestsCount in class Node

isLeaf

public boolean isLeaf()

toString

public String toString()

loadDefaultSelection

protected void loadDefaultSelection(TestSelector selector)
Overrides:
loadDefaultSelection in class Node

getName

public String getName()

setSelected

public void setSelected(boolean status)
Overrides:
setSelected in class Node