projectviewer.vpt
Class VPTFilteredModel.FilteredDirectoryNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byprojectviewer.vpt.VPTNode
          extended byprojectviewer.vpt.VPTDirectory
              extended byprojectviewer.vpt.VPTFilteredModel.FilteredDirectoryNode
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Enclosing class:
VPTFilteredModel

public class VPTFilteredModel.FilteredDirectoryNode
extends VPTDirectory

See Also:
Serialized Form

Field Summary
 
Fields inherited from class projectviewer.vpt.VPTDirectory
file
 
Fields inherited from class projectviewer.vpt.VPTNode
name, treeNoSelectionBackground, treeNoSelectionForeground, treeSelectionBackground, treeSelectionForeground
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
VPTFilteredModel.FilteredDirectoryNode(VPTFilterData filterData, java.util.List openableNodeList)
           
 
Method Summary
 void add(VPTNode node)
           
 int getChildCount()
           
 int getClipType()
          This method controls how the CellRenderer implementation will clip the name of the node when it doesn't fit in the tree.
 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, 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

VPTFilteredModel.FilteredDirectoryNode

public VPTFilteredModel.FilteredDirectoryNode(VPTFilterData filterData,
                                              java.util.List openableNodeList)
Method Detail

getName

public java.lang.String getName()
Description copied from class: VPTNode
Returns the name of this node. The name is the text that will appear in the project tree.

Overrides:
getName in class VPTNode

getFiles

public java.util.List getFiles()

getChildCount

public int getChildCount()

remove

public void remove(VPTNode node)

add

public void add(VPTNode node)

getClipType

public int getClipType()
Description copied from class: VPTNode
This method controls how the CellRenderer implementation will clip the name of the node when it doesn't fit in the tree.

Overrides:
getClipType in class VPTNode
Returns:
CLIP_NOCLIP in the default implementation, override to change it.
See Also:
VPTCellRenderer