public class TextBlockWidthAdapter extends java.lang.Object implements TextBlockWidth
| Constructor and Description |
|---|
TextBlockWidthAdapter(TextBlock textBlock,
double widthToUse) |
| Modifier and Type | Method and Description |
|---|---|
TextBlock |
asTextBlock(double widthToUse) |
java.awt.geom.Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
public TextBlockWidthAdapter(TextBlock textBlock, double widthToUse)
public void drawU(UGraphic ug)
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension in interface TextBlockWidthpublic TextBlock asTextBlock(double widthToUse)
asTextBlock in interface TextBlockWidth