Package net.sourceforge.plantuml.svek
Class Cluster
- java.lang.Object
-
- net.sourceforge.plantuml.svek.Cluster
-
-
Field Summary
Fields Modifier and Type Field Description static String
CENTER_ID
protected ICucaDiagram
diagram
-
Constructor Summary
Constructors Constructor Description Cluster(ICucaDiagram diagram, ColorSequence colorSequence, ISkinParam skinParam, Entity root)
-
Method Summary
-
-
-
Field Detail
-
CENTER_ID
public static final String CENTER_ID
- See Also:
- Constant Field Values
-
diagram
protected final ICucaDiagram diagram
-
-
Constructor Detail
-
Cluster
public Cluster(ICucaDiagram diagram, ColorSequence colorSequence, ISkinParam skinParam, Entity root)
-
-
Method Detail
-
moveSvek
public void moveSvek(double deltaX, double deltaY)
-
getParentCluster
public final Cluster getParentCluster()
-
addNode
public void addNode(SvekNode node)
-
getNodes
public final List<SvekNode> getNodes(EnumSet<EntityPosition> position)
-
createChild
public Cluster createChild(ClusterHeader clusterHeader, ColorSequence colorSequence, ISkinParam skinParam, Entity g)
-
getTitleAndAttributeWidth
public final int getTitleAndAttributeWidth()
-
getTitleAndAttributeHeight
public final int getTitleAndAttributeHeight()
-
getRectangleArea
public RectangleArea getRectangleArea()
-
setTitlePosition
public void setTitlePosition(XPoint2D pos)
-
setNoteTopPosition
public void setNoteTopPosition(XPoint2D pos)
-
setNoteBottomPosition
public void setNoteBottomPosition(XPoint2D pos)
-
getDefaultStyleDefinition
public static StyleSignatureBasic getDefaultStyleDefinition(SName diagramStyleName, USymbol symbol)
-
drawU
public void drawU(UGraphic ug, UmlDiagramType umlDiagramType, ISkinParam skinParam2unused)
-
printCluster1
public boolean printCluster1(StringBuilder sb, Collection<SvekLine> lines, StringBounder stringBounder)
-
printCluster2
public SvekNode printCluster2(StringBuilder sb, Collection<SvekLine> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
-
printCluster3_forKermor
public void printCluster3_forKermor(StringBuilder sb, Collection<SvekLine> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
-
getClusterId
public String getClusterId()
-
isLabel
public boolean isLabel()
-
getBackColor
public static HColor getBackColor(HColor backColor, Stereotype stereotype, SName styleName, USymbol symbol, StyleBuilder styleBuilder, HColorSet colorSet)
-
getColorNoteTop
public final int getColorNoteTop()
-
getColorNoteBottom
public final int getColorNoteBottom()
-
getTitleDimension
public XDimension2D getTitleDimension(StringBounder stringBounder)
-
-