public final class LazyProgressNode<T>
extends javax.swing.tree.DefaultMutableTreeNode
implements javax.swing.tree.TreeNode
getProgress method. Once the children are fetched
the progess node is removed from the tree and the children are inserted.
Progress can be determined and cancelled via a LazyProgressTracker passed to a LazyParentNode
| Modifier and Type | Field and Description |
|---|---|
static javax.swing.Icon |
PROCESSING_ICON
The standard icon to use for displaying these nodes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getProgress()
Report the progress of the child worker via
SwingWorker.getProgress() |
java.lang.String |
getProgressText()
Report the latest (if any) "progressText" property change event sent by the
SwingWorker |
boolean |
isLeaf() |
java.lang.String |
toString() |
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, setUserObjectpublic static final javax.swing.Icon PROCESSING_ICON
public boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class javax.swing.tree.DefaultMutableTreeNodepublic java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic int getProgress()
SwingWorker.getProgress()public java.lang.String getProgressText()
SwingWorker