Package net.sourceforge.plantuml.svek
Class Cluster
- java.lang.Object
-
- net.sourceforge.plantuml.svek.Cluster
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CENTER_ID
protected CucaDiagram
diagram
-
Constructor Summary
Constructors Constructor Description Cluster(CucaDiagram diagram, ColorSequence colorSequence, Entity root)
-
Method Summary
-
-
-
Field Detail
-
CENTER_ID
public static final java.lang.String CENTER_ID
- See Also:
- Constant Field Values
-
diagram
protected final CucaDiagram diagram
-
-
Constructor Detail
-
Cluster
public Cluster(CucaDiagram diagram, ColorSequence colorSequence, Entity root)
-
-
Method Detail
-
moveDelta
public void moveDelta(double deltaX, double deltaY)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getParentCluster
public final Cluster getParentCluster()
-
addNode
public void addNode(SvekNode node)
-
getNodes
public final java.util.List<SvekNode> getNodes()
-
getNodes
public final java.util.List<SvekNode> getNodes(java.util.EnumSet<EntityPosition> position)
-
getChildren
public final java.util.List<Cluster> getChildren()
-
createChild
public Cluster createChild(ClusterHeader clusterHeader, ColorSequence colorSequence, Entity g)
-
getGroups
public final java.util.Set<Entity> getGroups()
-
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, GroupType groupType)
-
drawU
public void drawU(UGraphic ug)
-
printCluster1
public boolean printCluster1(java.lang.StringBuilder sb, java.util.Collection<SvekEdge> lines, StringBounder stringBounder)
-
printCluster2
public SvekNode printCluster2(java.lang.StringBuilder sb, java.util.Collection<SvekEdge> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
-
printCluster3_forKermor
public void printCluster3_forKermor(java.lang.StringBuilder sb, java.util.Collection<SvekEdge> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
-
getClusterId
public java.lang.String getClusterId()
-
isLabel
public boolean isLabel()
-
getBackColor
public static HColor getBackColor(HColor backColor, Stereotype stereotype, SName styleName, USymbol symbol, StyleBuilder styleBuilder, HColorSet colorSet, GroupType groupType)
-
getColorNoteTop
public final int getColorNoteTop()
-
getColorNoteBottom
public final int getColorNoteBottom()
-
getTitleDimension
public XDimension2D getTitleDimension(StringBounder stringBounder)
-
getMagneticBorder
public MagneticBorder getMagneticBorder()
-
-