net.sourceforge.plantuml.svek
Class Cluster
java.lang.Object
net.sourceforge.plantuml.svek.Cluster
- All Implemented Interfaces:
- Moveable
public class Cluster
- extends Object
- implements Moveable
Method Summary |
void |
addShape(Shape sh)
|
Cluster |
createChild(IGroup g,
int titleAndAttributeWidth,
int titleAndAttributeHeight,
TextBlock title,
TextBlock stereo,
ColorSequence colorSequence,
ISkinParam skinParam)
|
void |
drawU(UGraphic ug,
HtmlColor borderColor,
DotData dotData)
|
void |
fillRankMin(Set<String> rankMin)
|
List<Cluster> |
getChildren()
|
String |
getClusterId()
|
ClusterPosition |
getClusterPosition()
|
int |
getColor()
|
IGroup |
getGroup()
|
String |
getMaxPoint()
|
String |
getMinPoint()
|
double |
getMinX()
|
Cluster |
getParent()
|
List<Shape> |
getShapes()
|
static String |
getSpecialPointId(IEntity group)
|
static HtmlColor |
getStateBackColor(HtmlColor stateBack,
ISkinParam skinParam,
String stereotype)
|
int |
getTitleAndAttributeHeight()
|
int |
getTitleAndAttributeWidth()
|
int |
getTitleColor()
|
double |
getWidth()
|
boolean |
isClusterOf(IEntity ent)
|
void |
moveSvek(double deltaX,
double deltaY)
|
void |
printCluster1(StringBuilder sb,
Collection<Line> lines)
|
boolean |
printCluster2(StringBuilder sb,
Collection<Line> lines,
StringBounder stringBounder,
DotMode dotMode)
|
void |
printClusterEntryExit(StringBuilder sb,
StringBounder stringBounder)
|
void |
setPosition(double minX,
double minY,
double maxX,
double maxY)
|
void |
setTitlePosition(double x,
double y)
|
String |
toString()
|
CENTER_ID
public static final String CENTER_ID
- See Also:
- Constant Field Values
Cluster
public Cluster(ColorSequence colorSequence,
ISkinParam skinParam,
IGroup root)
moveSvek
public void moveSvek(double deltaX,
double deltaY)
- Specified by:
moveSvek
in interface Moveable
toString
public String toString()
- Overrides:
toString
in class Object
getParent
public final Cluster getParent()
addShape
public void addShape(Shape sh)
getShapes
public final List<Shape> getShapes()
getChildren
public final 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,
HtmlColor borderColor,
DotData dotData)
setPosition
public void setPosition(double minX,
double minY,
double maxX,
double maxY)
printCluster1
public void printCluster1(StringBuilder sb,
Collection<Line> lines)
printClusterEntryExit
public void printClusterEntryExit(StringBuilder sb,
StringBounder stringBounder)
printCluster2
public boolean printCluster2(StringBuilder sb,
Collection<Line> lines,
StringBounder stringBounder,
DotMode dotMode)
fillRankMin
public void fillRankMin(Set<String> rankMin)
getClusterId
public String getClusterId()
getSpecialPointId
public static String getSpecialPointId(IEntity group)
getMinPoint
public String getMinPoint()
getMaxPoint
public String getMaxPoint()
getColor
public int getColor()
getTitleColor
public int getTitleColor()
isClusterOf
public boolean isClusterOf(IEntity ent)
getStateBackColor
public static HtmlColor getStateBackColor(HtmlColor stateBack,
ISkinParam skinParam,
String stereotype)
Copyright © 2013. All Rights Reserved.