net.sourceforge.plantuml.postit
Class Area

java.lang.Object
  extended by net.sourceforge.plantuml.postit.Area
All Implemented Interfaces:
Elastic

public class Area
extends Object
implements Elastic


Constructor Summary
Area(char id, String title)
           
 
Method Summary
 void add(PostIt postIt)
           
 void drawU(UGraphic ug, double width)
           
 Dimension2D getDimension()
           
 char getId()
           
 Dimension2D getMinimunDimension()
           
 String getTitle()
           
 double heightWhenWidthIs(double width, StringBounder stringBounder)
           
 void setMinimunDimension(Dimension2D minimunDimension)
           
 double widthWhenHeightIs(double height, StringBounder stringBounder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Area

public Area(char id,
            String title)
Method Detail

getId

public char getId()

getTitle

public String getTitle()

getMinimunDimension

public Dimension2D getMinimunDimension()

setMinimunDimension

public void setMinimunDimension(Dimension2D minimunDimension)

getDimension

public Dimension2D getDimension()

heightWhenWidthIs

public double heightWhenWidthIs(double width,
                                StringBounder stringBounder)
Specified by:
heightWhenWidthIs in interface Elastic

widthWhenHeightIs

public double widthWhenHeightIs(double height,
                                StringBounder stringBounder)
Specified by:
widthWhenHeightIs in interface Elastic

add

public void add(PostIt postIt)

drawU

public void drawU(UGraphic ug,
                  double width)


Copyright © 2013. All Rights Reserved.