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 void
addBloc(Block b)
Block
getBlock(int uid)
Collection<Block>
getContents()
Cluster
getParent()
XPoint2D
getPosition()
Collection<Block>
getRecursiveContents()
XDimension2D
getSize()
Collection<Cluster>
getSubClusters()
double
getTitleHeight()
double
getTitleWidth()
int
getUid()
void
moveSvek(double deltaX, double deltaY)
void
setHeight(double height)
void
setWidth(double width)
void
setX(double x)
void
setY(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:
getParent
in interfaceClusterable
-
getContents
public Collection<Block> getContents()
-
getBlock
public Block getBlock(int uid)
-
getPosition
public XPoint2D getPosition()
- Specified by:
getPosition
in interfacePositionable
-
getSize
public XDimension2D getSize()
- Specified by:
getSize
in 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()
-
-