Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CENTER_ID |
protected ICucaDiagram |
diagram |
Constructor and Description |
---|
Cluster(ICucaDiagram diagram,
ColorSequence colorSequence,
ISkinParam skinParam,
Entity root) |
Modifier and Type | Method and Description |
---|---|
void |
addNode(SvekNode node) |
Cluster |
createChild(ClusterHeader clusterHeader,
ColorSequence colorSequence,
ISkinParam skinParam,
Entity g) |
void |
drawU(UGraphic ug,
UmlDiagramType umlDiagramType) |
static HColor |
getBackColor(HColor backColor,
Stereotype stereotype,
SName styleName,
USymbol symbol,
StyleBuilder styleBuilder,
HColorSet colorSet,
GroupType groupType) |
java.util.List<Cluster> |
getChildren() |
java.lang.String |
getClusterId() |
int |
getColorNoteBottom() |
int |
getColorNoteTop() |
static StyleSignatureBasic |
getDefaultStyleDefinition(SName diagramStyleName,
USymbol symbol,
GroupType groupType) |
java.util.Set<Entity> |
getGroups() |
java.util.List<SvekNode> |
getNodes() |
java.util.List<SvekNode> |
getNodes(java.util.EnumSet<EntityPosition> position) |
Cluster |
getParentCluster() |
RectangleArea |
getRectangleArea() |
static UStroke |
getStrokeInternal(Entity group,
Style style) |
int |
getTitleAndAttributeHeight() |
int |
getTitleAndAttributeWidth() |
XDimension2D |
getTitleDimension(StringBounder stringBounder) |
boolean |
isLabel() |
void |
moveSvek(double deltaX,
double deltaY) |
boolean |
printCluster1(java.lang.StringBuilder sb,
java.util.Collection<SvekLine> lines,
StringBounder stringBounder) |
SvekNode |
printCluster2(java.lang.StringBuilder sb,
java.util.Collection<SvekLine> lines,
StringBounder stringBounder,
DotMode dotMode,
GraphvizVersion graphvizVersion,
UmlDiagramType type) |
void |
printCluster3_forKermor(java.lang.StringBuilder sb,
java.util.Collection<SvekLine> lines,
StringBounder stringBounder,
DotMode dotMode,
GraphvizVersion graphvizVersion,
UmlDiagramType type) |
void |
setNoteBottomPosition(XPoint2D pos) |
void |
setNoteTopPosition(XPoint2D pos) |
void |
setPosition(XPoint2D min,
XPoint2D max) |
void |
setTitlePosition(XPoint2D pos) |
java.lang.String |
toString() |
public static final java.lang.String CENTER_ID
protected final ICucaDiagram diagram
public Cluster(ICucaDiagram diagram, ColorSequence colorSequence, ISkinParam skinParam, Entity root)
public void moveSvek(double deltaX, double deltaY)
public java.lang.String toString()
toString
in class java.lang.Object
public final Cluster getParentCluster()
public void addNode(SvekNode node)
public final java.util.List<SvekNode> getNodes()
public final java.util.List<SvekNode> getNodes(java.util.EnumSet<EntityPosition> position)
public final java.util.List<Cluster> getChildren()
public Cluster createChild(ClusterHeader clusterHeader, ColorSequence colorSequence, ISkinParam skinParam, Entity g)
public final java.util.Set<Entity> getGroups()
public final int getTitleAndAttributeWidth()
public final int getTitleAndAttributeHeight()
public RectangleArea getRectangleArea()
public void setTitlePosition(XPoint2D pos)
public void setNoteTopPosition(XPoint2D pos)
public void setNoteBottomPosition(XPoint2D pos)
public static StyleSignatureBasic getDefaultStyleDefinition(SName diagramStyleName, USymbol symbol, GroupType groupType)
public void drawU(UGraphic ug, UmlDiagramType umlDiagramType)
public boolean printCluster1(java.lang.StringBuilder sb, java.util.Collection<SvekLine> lines, StringBounder stringBounder)
public SvekNode printCluster2(java.lang.StringBuilder sb, java.util.Collection<SvekLine> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
public void printCluster3_forKermor(java.lang.StringBuilder sb, java.util.Collection<SvekLine> lines, StringBounder stringBounder, DotMode dotMode, GraphvizVersion graphvizVersion, UmlDiagramType type)
public java.lang.String getClusterId()
public boolean isLabel()
public static HColor getBackColor(HColor backColor, Stereotype stereotype, SName styleName, USymbol symbol, StyleBuilder styleBuilder, HColorSet colorSet, GroupType groupType)
public final int getColorNoteTop()
public final int getColorNoteBottom()
public XDimension2D getTitleDimension(StringBounder stringBounder)