Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext.misc
Class VirtualFolders.VirtualFolderNode  view VirtualFolders.VirtualFolderNode download VirtualFolders.VirtualFolderNode.java

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.jext.misc.VirtualFolders.VirtualFolderNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Enclosing class:
VirtualFolders

class VirtualFolders.VirtualFolderNode
extends javax.swing.tree.DefaultMutableTreeNode


Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
private  java.lang.String filePath
           
private  boolean isLeaf
           
private  boolean isVisible
           
private  java.lang.String label
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
(package private) VirtualFolders.VirtualFolderNode(java.lang.String filePath)
           
(package private) VirtualFolders.VirtualFolderNode(java.lang.String filePath, boolean isLeaf)
           
 
Method Summary
 void ensureVisible(boolean isVisible)
           
 java.lang.String getFilePath()
           
 boolean isLeaf()
          Returns true if this tree node is a lead node (that is, it has no children), and false.
 boolean shouldBeVisible()
           
 java.lang.String toString()
          Returns a string representation of the node.
 
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, 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

isLeaf

private boolean isLeaf

filePath

private java.lang.String filePath

label

private java.lang.String label

isVisible

private boolean isVisible
Constructor Detail

VirtualFolders.VirtualFolderNode

VirtualFolders.VirtualFolderNode(java.lang.String filePath)

VirtualFolders.VirtualFolderNode

VirtualFolders.VirtualFolderNode(java.lang.String filePath,
                                 boolean isLeaf)
Method Detail

ensureVisible

public void ensureVisible(boolean isVisible)

shouldBeVisible

public boolean shouldBeVisible()

getFilePath

public java.lang.String getFilePath()

isLeaf

public boolean isLeaf()
Description copied from class: javax.swing.tree.DefaultMutableTreeNode
Returns true if this tree node is a lead node (that is, it has no children), and false.


toString

public java.lang.String toString()
Description copied from class: javax.swing.tree.DefaultMutableTreeNode
Returns a string representation of the node. This implementation returns getUserObject().toString(), or null if there is no user object.