public class YTaskLayout extends YNetElementNode
Constructor and Description |
---|
YTaskLayout(YTask task,
java.text.NumberFormat formatter) |
Modifier and Type | Method and Description |
---|---|
void |
addDecoratorLayout(YDecoratorLayout decoratorLayout) |
java.util.Set<YDecoratorLayout> |
getDecorators() |
javax.swing.ImageIcon |
getIcon() |
java.lang.String |
getIconPath() |
YDecoratorLayout |
getJoinLayout() |
YDecoratorLayout |
getSplitLayout() |
boolean |
hasDecorator() |
boolean |
hasJoinLayout() |
boolean |
hasSplitLayout() |
boolean |
isContainer() |
YDecoratorLayout |
newDecoratorLayoutInstance() |
protected void |
parseContainer(XNode node) |
protected void |
parseVertex(XNode node) |
void |
setIconPath(java.lang.String icon) |
void |
setJoinLayout(YDecoratorLayout layout) |
void |
setSplitLayout(YDecoratorLayout layout) |
protected XNode |
toContainerNode() |
protected XNode |
toVertexNode(boolean contained) |
parse, toXNode
getAttributesNode, getBounds, getColor, getDesignNotes, getDesignNotesNode, getFillColor, getFont, getFontNode, getID, getLabelBounds, getLabelColor, getLabelLocation, getLabelNode, getLabelSize, getLocation, getNumberFormatter, getSize, hasDesignNotes, hasLabel, parseAttributes, parseFont, parseLabel, parseVertexDesignNotes, setBounds, setColor, setColor, setDesignNotes, setFillColor, setFillColor, setFont, setID, setLabelBounds, setLabelColor, setLabelColor, setNumberFormatter
public YDecoratorLayout getSplitLayout()
public void setSplitLayout(YDecoratorLayout layout)
public boolean hasSplitLayout()
public YDecoratorLayout getJoinLayout()
public void setJoinLayout(YDecoratorLayout layout)
public boolean hasJoinLayout()
public java.util.Set<YDecoratorLayout> getDecorators()
public java.lang.String getIconPath()
public void setIconPath(java.lang.String icon)
public boolean hasDecorator()
public boolean isContainer()
isContainer
in class YLayoutNode
public YDecoratorLayout newDecoratorLayoutInstance()
public void addDecoratorLayout(YDecoratorLayout decoratorLayout)
public javax.swing.ImageIcon getIcon()
protected void parseVertex(XNode node)
parseVertex
in class YNetElementNode
protected void parseContainer(XNode node)
parseContainer
in class YNetElementNode
protected XNode toVertexNode(boolean contained)
toVertexNode
in class YNetElementNode
protected XNode toContainerNode()
toContainerNode
in class YNetElementNode