|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.bounce.viewer.xml.NodeTreeNode
public abstract class NodeTreeNode
The node for the XML tree, containing an XML element.
| Field Summary | |
|---|---|
protected static int |
MAX_LINE_LENGTH
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
NodeTreeNode(org.w3c.dom.Node node)
Constructs the node for the XML element. |
|
| Method Summary | |
|---|---|
(package private) abstract void |
format()
|
(package private) Line |
getCurrent()
|
(package private) java.util.List<Line> |
getLines()
Returns the formatted lines for this element. |
org.w3c.dom.Node |
getNode()
Constructs the node for the XML element. |
(package private) void |
setCurrent(Line current)
|
(package private) void |
update()
|
| 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, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int MAX_LINE_LENGTH
| Constructor Detail |
|---|
NodeTreeNode(org.w3c.dom.Node node)
element - the XML element.| Method Detail |
|---|
void update()
java.util.List<Line> getLines()
public org.w3c.dom.Node getNode()
element - the XML element.abstract void format()
void setCurrent(Line current)
Line getCurrent()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||