Class Cluster

  • All Implemented Interfaces:
    Moveable

    public class Cluster
    extends java.lang.Object
    implements Moveable
    • Method Detail

      • moveDelta

        public void moveDelta​(double deltaX,
                              double deltaY)
        Specified by:
        moveDelta in interface Moveable
      • toString

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

        public final Cluster getParentCluster()
      • addNode

        public void addNode​(SvekNode node)
      • getNodes

        public final java.util.List<SvekNode> getNodes()
      • getChildren

        public final java.util.List<Cluster> getChildren()
      • getGroups

        public final java.util.Set<Entity> getGroups()
      • getTitleAndAttributeWidth

        public final int getTitleAndAttributeWidth()
      • getTitleAndAttributeHeight

        public final int getTitleAndAttributeHeight()
      • setTitlePosition

        public void setTitlePosition​(XPoint2D pos)
      • setNoteTopPosition

        public void setNoteTopPosition​(XPoint2D pos)
      • setNoteBottomPosition

        public void setNoteBottomPosition​(XPoint2D pos)
      • getStrokeInternal

        public static UStroke getStrokeInternal​(Entity group,
                                                Style style)
      • printCluster1

        public boolean printCluster1​(java.lang.StringBuilder sb,
                                     java.util.Collection<SvekEdge> lines,
                                     StringBounder stringBounder)
      • getClusterId

        public java.lang.String getClusterId()
      • isLabel

        public boolean isLabel()
      • getColorNoteTop

        public final int getColorNoteTop()
      • getColorNoteBottom

        public final int getColorNoteBottom()