public class YDecoratorLayout extends YLayoutNode
Modifier | Constructor and Description |
---|---|
protected |
YDecoratorLayout(YTaskLayout taskLayout,
java.text.NumberFormat formatter)
Creates a new Decorator layout for a particular task.
|
Modifier and Type | Method and Description |
---|---|
YTaskLayout |
getParent() |
DecoratorPosition |
getPosition() |
DecoratorType |
getType() |
boolean |
isJoin() |
boolean |
isSplit() |
protected void |
parse(XNode node)
Parse the XML node describing this decorator's layout.
|
void |
setPosition(DecoratorPosition position) |
void |
setPosition(int p) |
void |
setType(DecoratorType type) |
void |
setType(java.lang.String s) |
protected XNode |
toXNode()
Creates an XNode representation of this decorator's layout, to generate its XML
representation.
|
getAttributesNode, getBounds, getColor, getDesignNotes, getDesignNotesNode, getFillColor, getFont, getFontNode, getID, getLabelBounds, getLabelColor, getLabelLocation, getLabelNode, getLabelSize, getLocation, getNumberFormatter, getSize, hasDesignNotes, hasLabel, isContainer, parseAttributes, parseFont, parseLabel, parseVertexDesignNotes, setBounds, setColor, setColor, setDesignNotes, setFillColor, setFillColor, setFont, setID, setLabelBounds, setLabelColor, setLabelColor, setNumberFormatter
protected YDecoratorLayout(YTaskLayout taskLayout, java.text.NumberFormat formatter)
taskLayout
- the parent task layoutformatter
- a number format for the specific localepublic DecoratorType getType()
public void setType(DecoratorType type)
public void setType(java.lang.String s)
public boolean isSplit()
public boolean isJoin()
public YTaskLayout getParent()
public DecoratorPosition getPosition()
public void setPosition(DecoratorPosition position)
public void setPosition(int p)
protected void parse(XNode node)
parse
in class YLayoutNode
node
- the node containing the XML layout descriptors of this decoratorprotected XNode toXNode()
toXNode
in class YLayoutNode