Package net.sourceforge.plantuml.posimo
Class Cluster
- java.lang.Object
-
- net.sourceforge.plantuml.posimo.Cluster
-
- All Implemented Interfaces:
Clusterable,Moveable,Positionable
public class Cluster extends Object implements Clusterable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBloc(Block b)BlockgetBlock(int uid)Collection<Block>getContents()ClustergetParent()XPoint2DgetPosition()Collection<Block>getRecursiveContents()XDimension2DgetSize()Collection<Cluster>getSubClusters()doublegetTitleHeight()doublegetTitleWidth()intgetUid()voidmoveSvek(double deltaX, double deltaY)voidsetHeight(double height)voidsetWidth(double width)voidsetX(double x)voidsetY(double y)
-
-
-
Constructor Detail
-
Cluster
public Cluster(Cluster parent, double titleWidth, double titleHeight)
-
-
Method Detail
-
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:
getParentin interfaceClusterable
-
getContents
public Collection<Block> getContents()
-
getBlock
public Block getBlock(int uid)
-
getPosition
public XPoint2D getPosition()
- Specified by:
getPositionin interfacePositionable
-
getSize
public XDimension2D getSize()
- Specified by:
getSizein interfacePositionable
-
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()
-
-