public class RootMissionTreeExtendedTreeNode extends ExtendedTreeNode
ExtendedTreeNode.ChildIterator| Constructor and Description |
|---|
RootMissionTreeExtendedTreeNode() |
RootMissionTreeExtendedTreeNode(java.lang.Object userObject)
Creates a tree node with no parent, no children, but which allows
children, and initializes it with the specified user object.
|
RootMissionTreeExtendedTreeNode(java.lang.Object userObject,
boolean allowsChildren)
Creates a tree node with no parent, no children, initialized with
the specified user object, and that allows children only if
specified.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToFilterOut(java.lang.Object optOutObject) |
javax.swing.tree.TreeNode |
getChildAt(int index) |
javax.swing.tree.TreeNode |
getChildAt(int index,
boolean unFiltered) |
int |
getChildCount() |
int |
getChildCount(boolean unFiltered) |
void |
removeFromFilterOut(java.lang.Object optOutObject) |
clone, cloneExtendedTreeNodeChildren, getUserInfo, iterator, setUserInfoadd, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, 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, toStringpublic RootMissionTreeExtendedTreeNode()
public RootMissionTreeExtendedTreeNode(java.lang.Object userObject)
userObject - an Object provided by the user that constitutes
the node's datapublic RootMissionTreeExtendedTreeNode(java.lang.Object userObject,
boolean allowsChildren)
userObject - an Object provided by the user that constitutes
the node's dataallowsChildren - if true, the node is allowed to have child
nodes -- otherwise, it is always a leaf nodepublic void addToFilterOut(java.lang.Object optOutObject)
public void removeFromFilterOut(java.lang.Object optOutObject)
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class javax.swing.tree.DefaultMutableTreeNodepublic javax.swing.tree.TreeNode getChildAt(int index,
boolean unFiltered)
public int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class javax.swing.tree.DefaultMutableTreeNodepublic int getChildCount(boolean unFiltered)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.