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.StringCENTER_ID
-
Constructor Summary
Constructors Constructor Description Cluster(ColorSequence colorSequence, ISkinParam skinParam, IGroup root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNode(Node node)doublecheckFolderPosition(java.awt.geom.Point2D pt, StringBounder stringBounder)ClustercreateChild(int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam, IGroup g)voiddrawU(UGraphic ug, UStroke strokeForState, UmlDiagramType umlDiagramType, ISkinParam skinParam2)voidfillRankMin(java.util.Set<java.lang.String> rankMin)static HColorgetBackColor(HColor backColor, ISkinParam skinParam, Stereotype stereotype, SName styleName)java.util.List<Cluster>getChildren()java.lang.StringgetClusterId()ClusterPositiongetClusterPosition()intgetColor()static StyleSignaturegetDefaultStyleDefinition(SName styleName)java.util.Set<IGroup>getGroups()java.lang.StringgetMaxPoint(UmlDiagramType type)java.lang.StringgetMinPoint(UmlDiagramType type)doublegetMinX()java.util.List<Node>getNodes()ClustergetParentCluster()static java.lang.StringgetSpecialPointId(IEntity group)intgetTitleAndAttributeHeight()intgetTitleAndAttributeWidth()intgetTitleColor()doublegetWidth()booleanisClusterOf(IEntity ent)booleanisLabel()voidmanageEntryExitPoint(StringBounder stringBounder)voidmoveSvek(double deltaX, double deltaY)voidprintCluster1(java.lang.StringBuilder sb, java.util.Collection<Line> lines, StringBounder stringBounder)NodeprintCluster2(java.lang.StringBuilder sb, java.util.Collection<Line> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)voidsetPosition(double minX, double minY, double maxX, double maxY)voidsetTitlePosition(double x, double y)java.lang.StringtoString()
-
-
-
Field Detail
-
CENTER_ID
public static final java.lang.String CENTER_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Cluster
public Cluster(ColorSequence colorSequence, ISkinParam skinParam, IGroup root)
-
-
Method Detail
-
moveSvek
public void moveSvek(double deltaX, double deltaY)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getParentCluster
public final Cluster getParentCluster()
-
addNode
public void addNode(Node node)
-
getNodes
public final java.util.List<Node> getNodes()
-
getChildren
public final java.util.List<Cluster> getChildren()
-
createChild
public Cluster createChild(int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam, IGroup g)
-
getGroups
public final java.util.Set<IGroup> getGroups()
-
getTitleAndAttributeWidth
public final int getTitleAndAttributeWidth()
-
getTitleAndAttributeHeight
public final int getTitleAndAttributeHeight()
-
getWidth
public double getWidth()
-
getMinX
public double getMinX()
-
getClusterPosition
public ClusterPosition getClusterPosition()
-
setTitlePosition
public void setTitlePosition(double x, double y)
-
getDefaultStyleDefinition
public static StyleSignature getDefaultStyleDefinition(SName styleName)
-
drawU
public void drawU(UGraphic ug, UStroke strokeForState, UmlDiagramType umlDiagramType, ISkinParam skinParam2)
-
manageEntryExitPoint
public void manageEntryExitPoint(StringBounder stringBounder)
-
setPosition
public void setPosition(double minX, double minY, double maxX, double maxY)
-
printCluster1
public void printCluster1(java.lang.StringBuilder sb, java.util.Collection<Line> lines, StringBounder stringBounder)
-
printCluster2
public Node printCluster2(java.lang.StringBuilder sb, java.util.Collection<Line> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
-
fillRankMin
public void fillRankMin(java.util.Set<java.lang.String> rankMin)
-
getClusterId
public java.lang.String getClusterId()
-
getSpecialPointId
public static java.lang.String getSpecialPointId(IEntity group)
-
getMinPoint
public java.lang.String getMinPoint(UmlDiagramType type)
-
getMaxPoint
public java.lang.String getMaxPoint(UmlDiagramType type)
-
isLabel
public boolean isLabel()
-
getColor
public int getColor()
-
getTitleColor
public int getTitleColor()
-
isClusterOf
public boolean isClusterOf(IEntity ent)
-
getBackColor
public static HColor getBackColor(HColor backColor, ISkinParam skinParam, Stereotype stereotype, SName styleName)
-
checkFolderPosition
public double checkFolderPosition(java.awt.geom.Point2D pt, StringBounder stringBounder)
-
-