net.sourceforge.plantuml.svek
Class Cluster

java.lang.Object
  extended by net.sourceforge.plantuml.svek.Cluster
All Implemented Interfaces:
Moveable

public class Cluster
extends java.lang.Object
implements Moveable


Field Summary
static java.lang.String CENTER_ID
           
 
Constructor Summary
Cluster(ColorSequence colorSequence, ISkinParam skinParam, IGroup root)
           
 
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(java.util.Set<java.lang.String> rankMin)
           
 java.util.List<Cluster> getChildren()
           
 java.lang.String getClusterId()
           
 ClusterPosition getClusterPosition()
           
 int getColor()
           
 IGroup getGroup()
           
 java.lang.String getMaxPoint()
           
 java.lang.String getMinPoint()
           
 double getMinX()
           
 Cluster getParent()
           
 java.util.List<Shape> getShapes()
           
static java.lang.String getSpecialPointId(IEntity group)
           
static HtmlColor getStateBackColor(HtmlColor stateBack, ISkinParam skinParam, java.lang.String stereotype)
           
 int getTitleAndAttributeHeight()
           
 int getTitleAndAttributeWidth()
           
 int getTitleColor()
           
 double getWidth()
           
 boolean isClusterOf(IEntity ent)
           
 void moveSvek(double deltaX, double deltaY)
           
 void printCluster1(java.lang.StringBuilder sb, java.util.Collection<Line> lines)
           
 boolean printCluster2(java.lang.StringBuilder sb, java.util.Collection<Line> lines, StringBounder stringBounder)
           
 void printClusterEntryExit(java.lang.StringBuilder sb, StringBounder stringBounder)
           
 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 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)
Specified by:
moveSvek in interface Moveable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getParent

public final Cluster getParent()

addShape

public void addShape(Shape sh)

getShapes

public final java.util.List<Shape> getShapes()

getChildren

public final java.util.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(java.lang.StringBuilder sb,
                          java.util.Collection<Line> lines)

printClusterEntryExit

public void printClusterEntryExit(java.lang.StringBuilder sb,
                                  StringBounder stringBounder)

printCluster2

public boolean printCluster2(java.lang.StringBuilder sb,
                             java.util.Collection<Line> lines,
                             StringBounder stringBounder)

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()

getMaxPoint

public java.lang.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,
                                          java.lang.String stereotype)


Copyright © 2013. All Rights Reserved.