daoc.editor.model.properties
Class AlignmentProperty

java.lang.Object
  extended bydaoc.editor.model.properties.Property
      extended bydaoc.editor.model.properties.AlignmentProperty
All Implemented Interfaces:
java.io.Serializable

public class AlignmentProperty
extends Property

Alignment information.

See Also:
Serialized Form

Constructor Summary
AlignmentProperty(org.w3c.dom.Element p, java.lang.String child)
           
AlignmentProperty(java.lang.String name)
           
 
Method Summary
 boolean isCenterHorizontally()
           
 boolean isCenterVertically()
           
 boolean isGrowHeight()
           
 boolean isGrowWidth()
           
 boolean isOffsetBottom()
           
 boolean isOffsetRight()
           
 boolean isTopLeft()
           
 void setAlignment(boolean isTopLeft, boolean isOffsetRight, boolean isOffsetBottom, boolean isGrowWidth, boolean isGrowHeight, boolean isCenterHorizontaly, boolean isCenterVerticaly)
           
 void writeXML(java.io.Writer fout, int indent)
           
 
Methods inherited from class daoc.editor.model.properties.Property
addUpdateListener, getName, removeUpdateListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlignmentProperty

public AlignmentProperty(java.lang.String name)

AlignmentProperty

public AlignmentProperty(org.w3c.dom.Element p,
                         java.lang.String child)
Method Detail

isGrowWidth

public boolean isGrowWidth()

isGrowHeight

public boolean isGrowHeight()

isTopLeft

public boolean isTopLeft()

isCenterHorizontally

public boolean isCenterHorizontally()

isCenterVertically

public boolean isCenterVertically()

isOffsetBottom

public boolean isOffsetBottom()

isOffsetRight

public boolean isOffsetRight()

setAlignment

public void setAlignment(boolean isTopLeft,
                         boolean isOffsetRight,
                         boolean isOffsetBottom,
                         boolean isGrowWidth,
                         boolean isGrowHeight,
                         boolean isCenterHorizontaly,
                         boolean isCenterVerticaly)

writeXML

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