net.sourceforge.plantuml.posimo
Class Cluster

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addBloc(Block b)
           
 Block getBlock(int uid)
           
 Collection<Block> getContents()
           
 Cluster getParent()
           
 Point2D getPosition()
           
 Collection<Block> getRecursiveContents()
           
 Dimension2D 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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.