|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.basex.gui.layout.TreeNode
org.basex.gui.layout.TreeLeaf
public final class TreeLeaf
JTree node which represents a leaf (which represents either a raw file or a document).
Field Summary | |
---|---|
boolean |
abbr
This leaf is a dummy node displaying that node listing is abbreviated. |
boolean |
raw
Represents raw file (true) or document (false). |
Fields inherited from class org.basex.gui.layout.TreeNode |
---|
name |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
TreeLeaf(byte[] nm,
byte[] pth,
boolean rw,
boolean ab,
BaseXTree bxt,
Data d)
Constructor. |
Method Summary | |
---|---|
boolean |
isLeaf()
|
Methods inherited from class org.basex.gui.layout.TreeNode |
---|
path, preparePath, toString, treeWillCollapse, treeWillExpand |
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 |
---|
public final boolean raw
public final boolean abbr
Constructor Detail |
---|
public TreeLeaf(byte[] nm, byte[] pth, boolean rw, boolean ab, BaseXTree bxt, Data d)
nm
- name of content nodepth
- node pathrw
- represented node is raw fileab
- abbreviated node listingbxt
- tree referenced
- data referenceMethod Detail |
---|
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |