daoc.editor.model.nodes
Class TextareatemplateNode

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

public class TextareatemplateNode
extends TemplateNode

Wrapper for the TextAreaTemplate node.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
TextareatemplateNode()
           
TextareatemplateNode(org.w3c.dom.Element e)
           
 
Method Summary
 ControlPanel createDefaultControl(javax.swing.JPanel parent)
          Creates a default control to be displayed in a panel of the given dimension.
 java.awt.Color getActiveColor()
           
 java.lang.String getBackgroundTemplate()
           
 Editor[] getEditors()
           
 java.lang.String getFontName()
           
 int getLinePadding()
           
 java.awt.Color getNormalColor()
           
 PointProperty getScrollbarOffset()
           
 PointProperty getScrollbarSizeOffset()
           
 java.lang.String getScrollbarTemplate()
           
 PointProperty getTextOffset()
           
 void writeXML(java.io.Writer fout, int indent)
           
 
Methods inherited from class daoc.editor.model.nodes.TemplateNode
getName, getPopup, init
 
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

TextareatemplateNode

public TextareatemplateNode()

TextareatemplateNode

public TextareatemplateNode(org.w3c.dom.Element e)
Method Detail

getFontName

public java.lang.String getFontName()

getBackgroundTemplate

public java.lang.String getBackgroundTemplate()

getScrollbarTemplate

public java.lang.String getScrollbarTemplate()

getTextOffset

public PointProperty getTextOffset()

getScrollbarOffset

public PointProperty getScrollbarOffset()

getScrollbarSizeOffset

public PointProperty getScrollbarSizeOffset()

getLinePadding

public int getLinePadding()

getNormalColor

public java.awt.Color getNormalColor()

getActiveColor

public java.awt.Color getActiveColor()

getEditors

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

writeXML

public void writeXML(java.io.Writer fout,
                     int indent)
              throws java.io.IOException
Overrides:
writeXML in class TemplateNode
Throws:
java.io.IOException

createDefaultControl

public ControlPanel createDefaultControl(javax.swing.JPanel parent)
Description copied from class: TemplateNode
Creates a default control to be displayed in a panel of the given dimension.

Specified by:
createDefaultControl in class TemplateNode