jsystem.treeui
Class Node
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
jsystem.treeui.Node
- All Implemented Interfaces:
- Cloneable, MutableTreeNode, Serializable, TreeNode
- Direct Known Subclasses:
- DirectoryNode, JarEntryNode, JarNode, RootNode, TestCaseNode, TestNode
- public abstract class Node
- extends DefaultMutableTreeNode
- See Also:
- Serialized Form
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, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
selectionChange
protected static NodeSelectionChange selectionChange
log
protected static Logger log
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
FAIL
public static final int FAIL
- See Also:
- Constant Field Values
RUNNING
public static final int RUNNING
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
isSelected
protected boolean isSelected
Node
public Node(Node parent,
Object userObject)
returnSelectedToDefault
public void returnSelectedToDefault()
initChildren
protected void initChildren(Object[] child)
throws Exception
- Throws:
Exception
getRootUserObject
protected Object getRootUserObject()
getTestsCount
protected int getTestsCount()
cleanLeafsWithoutTests
public void cleanLeafsWithoutTests()
getAllChildren
public Enumeration getAllChildren()
isSelected
public boolean isSelected()
setSelected
public void setSelected(boolean status)
toggleSelection
public void toggleSelection()
getStatus
public int getStatus()
setStatus
public void setStatus(int status)
loadDefaultSelection
protected void loadDefaultSelection(TestSelector selector)
isClassPath
public boolean isClassPath()
- Returns:
- Returns the isClassPath.
setClassPath
public void setClassPath(boolean isClassPath)
- Parameters:
isClassPath
- The isClassPath to set.