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
Constructor Summary |
Cluster(Cluster parent,
double titleWidth,
double titleHeight)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cluster
public Cluster(Cluster parent,
double titleWidth,
double titleHeight)
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 Point2D getPosition()
- Specified by:
getPosition
in interface Positionable
getSize
public Dimension2D 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
Copyright © 2012. All Rights Reserved.