jsystem.treeui.publisher
Class ElementNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
jsystem.treeui.publisher.ElementNode
- All Implemented Interfaces:
- Cloneable, MutableTreeNode, Serializable, TreeNode
- Direct Known Subclasses:
- TestStepNode
- public class ElementNode
- 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 |
TYPE_ROOT
public static final int TYPE_ROOT
- See Also:
- Constant Field Values
TYPE_PACKAGE
public static final int TYPE_PACKAGE
- See Also:
- Constant Field Values
TYPE_TEST
public static final int TYPE_TEST
- See Also:
- Constant Field Values
TYPE_STEP
public static final int TYPE_STEP
- See Also:
- Constant Field Values
TEST_PASS
public static final int TEST_PASS
- See Also:
- Constant Field Values
TEST_FAIL
public static final int TEST_FAIL
- See Also:
- Constant Field Values
TEST_IGNORE
public static final int TEST_IGNORE
- See Also:
- Constant Field Values
viewMode
protected int viewMode
name
protected String name
ElementNode
public ElementNode(Element element,
MutableTreeNode parent,
int viewMode)
initStatus
protected void initStatus()
removeElement
public void removeElement(ElementNode n)
initChildrens
public void initChildrens()
recalcStatus
public void recalcStatus()
toString
public String toString()
getViewMode
public int getViewMode()
- Returns:
- Returns the viewMode.
setViewMode
public void setViewMode(int viewMode)
- Parameters:
viewMode
- The viewMode to set.
getStatus
public int getStatus()
- Returns:
- Returns the status.
setStatus
public void setStatus(int status)
- Parameters:
status
- The status to set.
getType
public int getType()
- Returns:
- Returns the type.
setType
public void setType(int type)
- Parameters:
type
- The type to set.
getElement
public Element getElement()
- Returns:
- Returns the element.
setElement
public void setElement(Element element)
- Parameters:
element
- The element to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.