org.jext.misc
Class VirtualFolders.VirtualFolderNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.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
| 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 |
isLeaf
private boolean isLeaf
filePath
private java.lang.String filePath
label
private java.lang.String label
isVisible
private boolean isVisible
VirtualFolders.VirtualFolderNode
VirtualFolders.VirtualFolderNode(java.lang.String filePath)
VirtualFolders.VirtualFolderNode
VirtualFolders.VirtualFolderNode(java.lang.String filePath,
boolean isLeaf)
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.