public abstract class Node
extends javax.swing.tree.DefaultMutableTreeNode
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getText(UsageView view) |
protected abstract boolean |
isDataExcluded() |
protected abstract boolean |
isDataReadOnly() |
protected abstract boolean |
isDataValid()
isDataXXX methods perform actual (expensive) data computation.
|
boolean |
isExcluded() |
boolean |
isReadOnly() |
boolean |
isValid() |
abstract java.lang.String |
tree2string(int indent,
java.lang.String lineSeparator)
debug method for producing string tree presentation
|
protected void |
updateCachedPresentation() |
protected void |
updateNotify()
Override to perform node-specific updates
|
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
public abstract java.lang.String tree2string(int indent, java.lang.String lineSeparator)
protected abstract boolean isDataValid()
update(UsageView, Consumer)
)
to be compared later with cached data stored in myCachedFlags
and myCachedTextHash
protected abstract boolean isDataReadOnly()
protected abstract boolean isDataExcluded()
protected void updateCachedPresentation()
protected abstract java.lang.String getText(UsageView view)
public final boolean isValid()
public final boolean isReadOnly()
public final boolean isExcluded()
protected void updateNotify()