|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--com.ice.jcvsii.EntryNode
| Field Summary | |
protected CVSEntry |
entry
|
protected boolean |
hasLoaded
|
protected java.lang.String |
tsCache
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
EntryNode(CVSEntry entry)
|
|
| Method Summary | |
void |
cvsEntryAddedChild(CVSEntry.ChildEvent event)
|
void |
cvsEntryRemovedChild(CVSEntry.ChildEvent event)
|
int |
getChildCount()
return the number of children for this folder node. |
CVSEntry |
getEntry()
Returns this node's CVSEntry. |
java.lang.String |
getEntryTag()
Returns the tag of this node's CVSEntry. |
java.lang.String |
getEntryTimestamp()
Returns the date the receiver was last modified. |
java.lang.String |
getEntryVersion()
Returns this version of this node's CVSEntry. |
java.io.File |
getLocalFile()
Returns the local File that this node's CVSEntry represents. |
boolean |
hasLoadedChildren()
Returns true if the receiver represents a leaf, that is it is isn't a directory. |
boolean |
isLeaf()
Returns true if the receiver represents a leaf, that is it is isn't a directory. |
protected void |
loadChildren()
Creates the children of the receiver. |
void |
resetDisplayCaches()
Resets the cached display strings so they will be recomputed. |
static void |
setTimestampFormat(java.lang.String fmtStr)
|
java.lang.String |
toString()
Returns the string to be used to display this leaf in the JTree. |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, 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, setUserObject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean hasLoaded
protected CVSEntry entry
protected java.lang.String tsCache
| Constructor Detail |
public EntryNode(CVSEntry entry)
| Method Detail |
public static void setTimestampFormat(java.lang.String fmtStr)
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic java.io.File getLocalFile()
public java.lang.String getEntryVersion()
public java.lang.String getEntryTag()
public void resetDisplayCaches()
public java.lang.String getEntryTimestamp()
public CVSEntry getEntry()
public boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class javax.swing.tree.DefaultMutableTreeNodepublic boolean hasLoadedChildren()
public int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class javax.swing.tree.DefaultMutableTreeNodeprotected void loadChildren()
public void cvsEntryAddedChild(CVSEntry.ChildEvent event)
cvsEntryAddedChild in interface CVSEntry.ChildEventListenerpublic void cvsEntryRemovedChild(CVSEntry.ChildEvent event)
cvsEntryRemovedChild in interface CVSEntry.ChildEventListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||