public abstract class AbstractIterationStrategyNode extends DefaultMutableTreeNode implements IterationStrategyNode
allowsChildren, EMPTY_ENUMERATION, userObject
Constructor and Description |
---|
AbstractIterationStrategyNode() |
Modifier and Type | Method and Description |
---|---|
Enumeration<IterationStrategyNode> |
children()
Implement TreeNode
|
void |
clear()
Clear the child list and parent of this node
|
boolean |
getAllowsChildren()
Implement TreeNode
|
IterationStrategyNode |
getChildAt(int position)
Implement TreeNode
|
int |
getChildCount()
Implement TreeNode
|
List<IterationStrategyNode> |
getChildren()
Implements IterationStrategyNode
|
int |
getIndex(TreeNode node)
Implement TreeNode
|
IterationStrategyNode |
getParent()
Implement TreeNode
|
void |
insert(MutableTreeNode child)
Insert a new child node.
|
void |
insert(MutableTreeNode child,
int index) |
boolean |
isLeaf()
Implement TreeNode
|
protected void |
pushCompletion(Completion completion)
Push the specified completion event to the parent node
|
protected void |
pushJob(Job job)
Push the specified job up to the parent node in the iteration strategy.
|
void |
remove(int index) |
void |
remove(MutableTreeNode node) |
void |
removeFromParent() |
void |
setParent(MutableTreeNode newParent)
Implements IterationStrategyNode
|
void |
setUserObject(Object object) |
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, removeAllChildren, setAllowsChildren, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIterationDepth, receiveCompletion, receiveJob
public final Enumeration<IterationStrategyNode> children()
children
in interface TreeNode
children
in interface IterationStrategyNode
children
in class DefaultMutableTreeNode
public final void clear()
clear
in interface IterationStrategyNode
public boolean getAllowsChildren()
getAllowsChildren
in interface TreeNode
getAllowsChildren
in class DefaultMutableTreeNode
public final IterationStrategyNode getChildAt(int position)
getChildAt
in interface TreeNode
getChildAt
in interface IterationStrategyNode
getChildAt
in class DefaultMutableTreeNode
public final int getChildCount()
getChildCount
in interface TreeNode
getChildCount
in class DefaultMutableTreeNode
public final List<IterationStrategyNode> getChildren()
getChildren
in interface IterationStrategyNode
public final int getIndex(TreeNode node)
getIndex
in interface TreeNode
getIndex
in class DefaultMutableTreeNode
public final IterationStrategyNode getParent()
getParent
in interface TreeNode
getParent
in interface IterationStrategyNode
getParent
in class DefaultMutableTreeNode
public void insert(MutableTreeNode child)
IterationStrategyNode
insert
in interface IterationStrategyNode
child
- Child node to addpublic void insert(MutableTreeNode child, int index)
insert
in interface MutableTreeNode
insert
in class DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in interface TreeNode
isLeaf
in class DefaultMutableTreeNode
public void remove(int index)
remove
in interface MutableTreeNode
remove
in class DefaultMutableTreeNode
public void remove(MutableTreeNode node)
remove
in interface MutableTreeNode
remove
in class DefaultMutableTreeNode
public void removeFromParent()
removeFromParent
in interface MutableTreeNode
removeFromParent
in class DefaultMutableTreeNode
public final void setParent(MutableTreeNode newParent)
setParent
in interface MutableTreeNode
setParent
in class DefaultMutableTreeNode
public void setUserObject(Object object)
setUserObject
in interface MutableTreeNode
setUserObject
in class DefaultMutableTreeNode
protected final void pushCompletion(Completion completion)
protected final void pushJob(Job job)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.