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
(java.awt.geom.Point2D pt, StringBounder stringBounder) createChild
(int titleAndAttributeWidth, int titleAndAttributeHeight, TextBlock title, TextBlock stereo, ColorSequence colorSequence, ISkinParam skinParam, IGroup g) void
drawU
(UGraphic ug, UmlDiagramType umlDiagramType, ISkinParam skinParam2) void
fillRankMin
(java.util.Set<java.lang.String> rankMin) static HColor
getBackColor
(HColor backColor, ISkinParam skinParam, Stereotype stereotype, SName styleName, USymbol symbol) final java.util.List<Cluster>
java.lang.String
int
getColor()
static StyleSignatureBasic
getDefaultStyleDefinition
(SName diagramStyleName, USymbol symbol) static StyleSignature
getDefaultStyleDefinitionStateGroup
(Stereotype stereotype) final java.util.Set<IGroup>
java.lang.String
getMaxPoint
(UmlDiagramType type) java.lang.String
getMinPoint
(UmlDiagramType type) double
getMinX()
final java.util.List<SvekNode>
getNodes()
final Cluster
static java.lang.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
(java.lang.StringBuilder sb, java.util.Collection<SvekLine> lines, StringBounder stringBounder) printCluster2
(java.lang.StringBuilder sb, java.util.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) java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
CENTER_ID
public static final java.lang.String CENTER_ID- See Also:
-
-
Constructor Details
-
Cluster
-
-
Method Details
-
moveSvek
public void moveSvek(double deltaX, double deltaY) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
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
-
getStrokeInternal
-
manageEntryExitPoint
-
setPosition
public void setPosition(double minX, double minY, double maxX, double maxY) -
printCluster1
public void printCluster1(java.lang.StringBuilder sb, java.util.Collection<SvekLine> lines, StringBounder stringBounder) -
printCluster2
public SvekNode printCluster2(java.lang.StringBuilder sb, java.util.Collection<SvekLine> 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
-
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, USymbol symbol) -
checkFolderPosition
-