daoc.editor.model.nodes
Class ListboxtemplateNode

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.ListboxtemplateNode
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class ListboxtemplateNode
extends TemplateNode

Wrapper for the XML ListBoxTemplate element.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
ListboxtemplateNode()
           
ListboxtemplateNode(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.
 boolean drawScroll()
           
 java.lang.String getBackgroundTemplate()
           
 int getCellPadding()
           
 Editor[] getEditors()
           
 java.lang.String getFontName()
           
 PointProperty getIconSize()
           
 java.lang.String getIconTemplate()
           
 int getLabelLength()
           
 int getLineOffset()
           
 int getLinePadding()
           
 java.awt.Color getNormalColor()
           
 java.lang.String getScrollbar()
           
 int getScrollBottomOffset()
           
 int getScrollRightOffset()
           
 int getScrollTopOffset()
           
 int getTextBottomOffset()
           
 int getTextLeftOffset()
           
 int getTextRightOffset()
           
 int getTextTopOffset()
           
 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

ListboxtemplateNode

public ListboxtemplateNode()

ListboxtemplateNode

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

getLinePadding

public int getLinePadding()

getCellPadding

public int getCellPadding()

getLabelLength

public int getLabelLength()

getScrollbar

public java.lang.String getScrollbar()

drawScroll

public boolean drawScroll()

getScrollTopOffset

public int getScrollTopOffset()

getScrollRightOffset

public int getScrollRightOffset()

getScrollBottomOffset

public int getScrollBottomOffset()

getIconTemplate

public java.lang.String getIconTemplate()

getIconSize

public PointProperty getIconSize()

getFontName

public java.lang.String getFontName()

getNormalColor

public java.awt.Color getNormalColor()

getTextLeftOffset

public int getTextLeftOffset()

getTextRightOffset

public int getTextRightOffset()

getTextTopOffset

public int getTextTopOffset()

getTextBottomOffset

public int getTextBottomOffset()

getLineOffset

public int getLineOffset()

getBackgroundTemplate

public java.lang.String getBackgroundTemplate()

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