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 voidaddShape(Shape sh)doublecheckFolderPosition(java.awt.geom.Point2D pt, StringBounder stringBounder)ClustercreateChild(IGroup g, int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam)voiddrawU(UGraphic ug, UStroke stroke, UmlDiagramType umlDiagramType, ISkinParam skinParam2)voidfillRankMin(java.util.Set<java.lang.String> rankMin)static HtmlColorgetBackColor(HtmlColor backColor, ISkinParam skinParam, Stereotype stereotype)java.util.List<Cluster>getChildren()java.lang.StringgetClusterId()ClusterPositiongetClusterPosition()intgetColor()IGroupgetGroup()java.lang.StringgetMaxPoint(UmlDiagramType type)java.lang.StringgetMinPoint(UmlDiagramType type)doublegetMinX()ClustergetParent()java.util.List<Shape>getShapes()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)booleanprintCluster2(java.lang.StringBuilder sb, java.util.Collection<Line> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)voidprintClusterEntryExit(java.lang.StringBuilder sb, StringBounder stringBounder)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
-
getParent
public final Cluster getParent()
-
addShape
public void addShape(Shape sh)
-
getShapes
public final java.util.List<Shape> getShapes()
-
getChildren
public final java.util.List<Cluster> getChildren()
-
createChild
public Cluster createChild(IGroup g, int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam)
-
getGroup
public final IGroup getGroup()
-
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)
-
drawU
public void drawU(UGraphic ug, UStroke stroke, 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)
-
printClusterEntryExit
public void printClusterEntryExit(java.lang.StringBuilder sb, StringBounder stringBounder)
-
printCluster2
public boolean 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 HtmlColor getBackColor(HtmlColor backColor, ISkinParam skinParam, Stereotype stereotype)
-
checkFolderPosition
public double checkFolderPosition(java.awt.geom.Point2D pt, StringBounder stringBounder)
-
-