daoc.editor.model.nodes
Class CommentNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bydaoc.editor.model.nodes.ElementNode
          extended bydaoc.editor.model.nodes.CommentNode
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class CommentNode
extends ElementNode

Stores a comment.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
CommentNode()
           
CommentNode(org.w3c.dom.Comment c)
           
 
Method Summary
 Editor[] getEditors()
           
 java.lang.String getName()
           
 javax.swing.JPopupMenu getPopup()
           
 java.lang.String getValue()
           
 void init()
           
 void writeXML(java.io.Writer fout, int indent)
           
 
Methods inherited from class daoc.editor.model.nodes.ElementNode
add, addUpdateListener, compareTo, fireAddedEvent, fireRemoveEvent, fireUpdatedEvent, getNodeList, getNodeName, insert, remove, removeUpdateListener, toString
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommentNode

public CommentNode()

CommentNode

public CommentNode(org.w3c.dom.Comment c)
Method Detail

getValue

public java.lang.String getValue()

getName

public java.lang.String getName()

init

public void init()
Specified by:
init in class ElementNode

writeXML

public void writeXML(java.io.Writer fout,
                     int indent)
              throws java.io.IOException
Specified by:
writeXML in class ElementNode
Throws:
java.io.IOException

getEditors

public Editor[] getEditors()
Overrides:
getEditors in class ElementNode

getPopup

public javax.swing.JPopupMenu getPopup()
Overrides:
getPopup in class ElementNode