Package net.sourceforge.plantuml.svek
Class Cluster
java.lang.Object
net.sourceforge.plantuml.svek.Cluster
- All Implemented Interfaces:
Moveable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
checkFolderPosition
(Point2D pt, StringBounder stringBounder) createChild
(int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam, IGroup g) void
drawU
(UGraphic ug, UStroke strokeForState, UmlDiagramType umlDiagramType, ISkinParam skinParam2) void
fillRankMin
(Set<String> rankMin) static HColor
getBackColor
(HColor backColor, ISkinParam skinParam, Stereotype stereotype, SName styleName) int
getColor()
static StyleSignature
getDefaultStyleDefinition
(SName styleName) static StyleSignature
getDefaultStyleDefinitionStateGroup
(Stereotype stereotype) getMaxPoint
(UmlDiagramType type) getMinPoint
(UmlDiagramType type) double
getMinX()
getNodes()
final Cluster
static String
getSpecialPointId
(IEntity group) static UStroke
getStrokeInternal
(IGroup group, ISkinParam skinParam, Style style) final int
final int
int
double
getWidth()
boolean
isClusterOf
(IEntity ent) boolean
isLabel()
void
manageEntryExitPoint
(StringBounder stringBounder) void
moveSvek
(double deltaX, double deltaY) void
printCluster1
(StringBuilder sb, Collection<SvekLine> lines, StringBounder stringBounder) printCluster2
(StringBuilder sb, Collection<SvekLine> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type) void
setPosition
(double minX, double minY, double maxX, double maxY) void
setTitlePosition
(double x, double y) toString()
-
Field Details
-
CENTER_ID
- See Also:
-
-
Constructor Details
-
Cluster
-
-
Method Details
-
moveSvek
public void moveSvek(double deltaX, double deltaY) -
toString
-
getParentCluster
-
addNode
-
getNodes
-
getChildren
-
createChild
public Cluster createChild(int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam, IGroup g) -
getGroups
-
getTitleAndAttributeWidth
public final int getTitleAndAttributeWidth() -
getTitleAndAttributeHeight
public final int getTitleAndAttributeHeight() -
getWidth
public double getWidth() -
getMinX
public double getMinX() -
getClusterPosition
-
setTitlePosition
public void setTitlePosition(double x, double y) -
getDefaultStyleDefinition
-
getDefaultStyleDefinitionStateGroup
-
drawU
public void drawU(UGraphic ug, UStroke strokeForState, UmlDiagramType umlDiagramType, ISkinParam skinParam2) -
getStrokeInternal
-
manageEntryExitPoint
-
setPosition
public void setPosition(double minX, double minY, double maxX, double maxY) -
printCluster1
public void 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) -
fillRankMin
-
getClusterId
-
getSpecialPointId
-
getMinPoint
-
getMaxPoint
-
isLabel
public boolean isLabel() -
getColor
public int getColor() -
getTitleColor
public int getTitleColor() -
isClusterOf
-
getBackColor
public static HColor getBackColor(HColor backColor, ISkinParam skinParam, Stereotype stereotype, SName styleName) -
checkFolderPosition
-