daoc.editor.model.nodes
Class ScalarlabeldefNode

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

public class ScalarlabeldefNode
extends ControlNode

Wrapper for the ScalarLabelDef node.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
ScalarlabeldefNode()
           
ScalarlabeldefNode(org.w3c.dom.Element e)
           
 
Method Summary
 boolean dontDrawWhenZero()
           
 java.lang.String getAdapter()
           
 java.awt.Color getColor()
           
 java.lang.String getColorAdapter()
           
 java.lang.String getData()
           
 Editor[] getEditors()
           
 java.lang.String getFontName()
           
 int getHeight()
           
 int getMaxChars()
           
 java.lang.String getName()
           
 int getWidth()
           
 boolean isEndAligned()
           
 boolean isTextCentered()
           
 void writeXML(java.io.Writer fout, int indent)
           
 
Methods inherited from class daoc.editor.model.nodes.ControlNode
fillPreviewPopup, getAlignedBounds, getAlignment, getId, getLocation, getPopup, getX, getY, init, moveBy
 
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

ScalarlabeldefNode

public ScalarlabeldefNode()

ScalarlabeldefNode

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

getName

public java.lang.String getName()

getFontName

public java.lang.String getFontName()

getData

public java.lang.String getData()

getWidth

public int getWidth()

getHeight

public int getHeight()

getColor

public java.awt.Color getColor()

getAdapter

public java.lang.String getAdapter()
Overrides:
getAdapter in class ControlNode

getColorAdapter

public java.lang.String getColorAdapter()

isEndAligned

public boolean isEndAligned()

getMaxChars

public int getMaxChars()

isTextCentered

public boolean isTextCentered()

dontDrawWhenZero

public boolean dontDrawWhenZero()

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 ControlNode
Throws:
java.io.IOException