Class Cluster

java.lang.Object
net.sourceforge.plantuml.posimo.Cluster
All Implemented Interfaces:
Moveable, Positionable, Clusterable

public class Cluster extends Object implements Clusterable
  • Constructor Details

    • Cluster

      public Cluster(Cluster parent, double titleWidth, double titleHeight)
  • Method Details

    • getSubClusters

      public Collection<Cluster> getSubClusters()
    • getRecursiveContents

      public Collection<Block> getRecursiveContents()
    • getUid

      public int getUid()
    • addBloc

      public void addBloc(Block b)
    • getParent

      public Cluster getParent()
      Specified by:
      getParent in interface Clusterable
    • getContents

      public Collection<Block> getContents()
    • getBlock

      public Block getBlock(int uid)
    • getPosition

      public XPoint2D getPosition()
      Specified by:
      getPosition in interface Positionable
    • getSize

      public XDimension2D getSize()
      Specified by:
      getSize in interface Positionable
    • setX

      public final void setX(double x)
    • setY

      public final void setY(double y)
    • setWidth

      public final void setWidth(double width)
    • setHeight

      public final void setHeight(double height)
    • getTitleWidth

      public final double getTitleWidth()
    • getTitleHeight

      public final double getTitleHeight()
    • moveSvek

      public void moveSvek(double deltaX, double deltaY)
      Specified by:
      moveSvek in interface Moveable