|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
projectviewer.vpt.VPTNode
projectviewer.vpt.VPTDirectory
projectviewer.vpt.VPTCompactModel.CompactDirectoryNode
public static class VPTCompactModel.CompactDirectoryNode
| Field Summary |
|---|
| Fields inherited from class projectviewer.vpt.VPTDirectory |
|---|
file |
| Fields inherited from class projectviewer.vpt.VPTNode |
|---|
treeNoSelectionBackground, treeNoSelectionForeground, treeSelectionBackground, treeSelectionForeground |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
VPTCompactModel.CompactDirectoryNode(VPTNode dir,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
add(VPTNode node)
|
int |
getClipType()
This method controls how the CellRenderer implementation will clip the name of the node when it doesn't fit in the tree. |
VPTNode |
getDir()
|
java.util.List |
getFiles()
|
java.lang.String |
getName()
Returns the name of this node. |
void |
remove(VPTNode node)
|
| Methods inherited from class projectviewer.vpt.VPTDirectory |
|---|
canWrite, compareToNode, delete, getFile, getIcon, getNodePath, setFile, toString |
| Methods inherited from class projectviewer.vpt.VPTNode |
|---|
canOpen, close, compareName, compareTo, findIndexForChild, findProjectFor, getBackgroundColor, getChildWithName, getForegroundColor, isDirectory, isFile, isGroup, isOpened, isProject, isRoot, open, persistChildren, setName, setParent, sortChildren, sortChildren |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
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, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setUserObject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VPTCompactModel.CompactDirectoryNode(VPTNode dir,
java.lang.String name)
| Method Detail |
|---|
public VPTNode getDir()
public java.lang.String getName()
VPTNode
getName in class VPTNodepublic java.util.List getFiles()
public void remove(VPTNode node)
public void add(VPTNode node)
public int getClipType()
VPTNode
getClipType in class VPTNodeVPTCellRenderer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||