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
-
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 void
addNode(Node node)
double
checkFolderPosition(java.awt.geom.Point2D pt, StringBounder stringBounder)
Cluster
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(java.util.Set<java.lang.String> rankMin)
static HColor
getBackColor(HColor backColor, ISkinParam skinParam, Stereotype stereotype, SName styleName)
java.util.List<Cluster>
getChildren()
java.lang.String
getClusterId()
ClusterPosition
getClusterPosition()
int
getColor()
static StyleSignature
getDefaultStyleDefinition(SName styleName)
java.util.Set<IGroup>
getGroups()
java.lang.String
getMaxPoint(UmlDiagramType type)
java.lang.String
getMinPoint(UmlDiagramType type)
double
getMinX()
java.util.List<Node>
getNodes()
Cluster
getParentCluster()
static java.lang.String
getSpecialPointId(IEntity group)
int
getTitleAndAttributeHeight()
int
getTitleAndAttributeWidth()
int
getTitleColor()
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<Line> lines, StringBounder stringBounder)
Node
printCluster2(java.lang.StringBuilder sb, java.util.Collection<Line> 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()
-
-
-
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:
toString
in 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)
-
-