net.sourceforge.plantuml.posimo
Class Block

java.lang.Object
  extended by net.sourceforge.plantuml.posimo.Block
All Implemented Interfaces:
Clusterable, Positionable

public class Block
extends Object
implements Clusterable


Constructor Summary
Block(int uid, double width, double height, Cluster parent)
           
 
Method Summary
 Cluster getParent()
           
 Point2D getPosition()
           
 Dimension2D getSize()
           
 int getUid()
           
 void setCenterX(double center)
           
 void setCenterY(double center)
           
 void setX(double x)
           
 void setY(double y)
           
 String toString()
           
 String toStringPosition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Block

public Block(int uid,
             double width,
             double height,
             Cluster parent)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toStringPosition

public String toStringPosition()

getUid

public int getUid()

getParent

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

getPosition

public Point2D getPosition()
Specified by:
getPosition in interface Positionable

getSize

public Dimension2D getSize()
Specified by:
getSize in interface Positionable

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)


Copyright © 2011. All Rights Reserved.