daoc.editor.model.properties
Class AlignmentProperty
java.lang.Object
daoc.editor.model.properties.Property
daoc.editor.model.properties.AlignmentProperty
- All Implemented Interfaces:
- java.io.Serializable
- public class AlignmentProperty
- extends Property
Alignment information.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlignmentProperty
public AlignmentProperty(java.lang.String name)
AlignmentProperty
public AlignmentProperty(org.w3c.dom.Element p,
java.lang.String child)
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