public class TreeUpdatePass
extends java.lang.Object
Constructor and Description |
---|
TreeUpdatePass(javax.swing.tree.DefaultMutableTreeNode node) |
Modifier and Type | Method and Description |
---|---|
void |
addToUpdated(NodeDescriptor nodeDescriptor) |
void |
expire() |
javax.swing.tree.DefaultMutableTreeNode |
getCurrentNode() |
javax.swing.tree.DefaultMutableTreeNode |
getNode() |
long |
getUpdateStamp() |
boolean |
isExpired() |
boolean |
isUpdateChildren() |
boolean |
isUpdated(NodeDescriptor descriptor) |
boolean |
isUpdateStructure() |
void |
setCurrentNode(javax.swing.tree.DefaultMutableTreeNode currentNode) |
TreeUpdatePass |
setUpdateChildren(boolean updateChildren) |
TreeUpdatePass |
setUpdateStamp(long updateCount) |
TreeUpdatePass |
setUpdateStructure(boolean update) |
java.lang.String |
toString() |
boolean |
willUpdate(javax.swing.tree.DefaultMutableTreeNode node) |
public TreeUpdatePass(javax.swing.tree.DefaultMutableTreeNode node)
public TreeUpdatePass setUpdateChildren(boolean updateChildren)
public boolean isUpdateChildren()
public javax.swing.tree.DefaultMutableTreeNode getNode()
public TreeUpdatePass setUpdateStamp(long updateCount)
public long getUpdateStamp()
public void expire()
public boolean isExpired()
public javax.swing.tree.DefaultMutableTreeNode getCurrentNode()
public void setCurrentNode(javax.swing.tree.DefaultMutableTreeNode currentNode)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean willUpdate(javax.swing.tree.DefaultMutableTreeNode node)
public TreeUpdatePass setUpdateStructure(boolean update)
public boolean isUpdateStructure()
public void addToUpdated(NodeDescriptor nodeDescriptor)
public boolean isUpdated(NodeDescriptor descriptor)