Package net.sourceforge.plantuml.posimo
Class Block
- java.lang.Object
-
- net.sourceforge.plantuml.posimo.Block
-
- All Implemented Interfaces:
Moveable,Positionable,Clusterable
public class Block extends java.lang.Object implements Clusterable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClustergetParent()XPoint2DgetPosition()XDimension2DgetSize()intgetUid()voidmoveSvek(double deltaX, double deltaY)voidsetCenterX(double center)voidsetCenterY(double center)voidsetX(double x)voidsetY(double y)java.lang.StringtoString()java.lang.StringtoStringPosition()
-
-
-
Constructor Detail
-
Block
public Block(int uid, double width, double height, Cluster parent)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toStringPosition
public java.lang.String toStringPosition()
-
getUid
public int getUid()
-
getParent
public Cluster getParent()
- Specified by:
getParentin interfaceClusterable
-
getPosition
public XPoint2D getPosition()
- Specified by:
getPositionin interfacePositionable
-
getSize
public XDimension2D getSize()
- Specified by:
getSizein interfacePositionable
-
setCenterX
public void setCenterX(double center)
-
setCenterY
public void setCenterY(double center)
-
setX
public final void setX(double x)
-
setY
public final void setY(double y)
-
-