net.sourceforge.plantuml.graphic
Class TextBlockWidthAdapter

java.lang.Object
  extended by net.sourceforge.plantuml.graphic.TextBlockWidthAdapter
All Implemented Interfaces:
TextBlock, UDrawable

public class TextBlockWidthAdapter
extends java.lang.Object
implements TextBlock


Constructor Summary
TextBlockWidthAdapter(TextBlockWidth textBlockWidth, double widthToUse)
           
 
Method Summary
 java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
           
 void drawU(UGraphic ug)
           
 java.util.List<Url> getUrls()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextBlockWidthAdapter

public TextBlockWidthAdapter(TextBlockWidth textBlockWidth,
                             double widthToUse)
Method Detail

drawU

public void drawU(UGraphic ug)
Specified by:
drawU in interface UDrawable

calculateDimension

public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
Specified by:
calculateDimension in interface TextBlock

getUrls

public java.util.List<Url> getUrls()
Specified by:
getUrls in interface TextBlock


Copyright © 2013. All Rights Reserved.