Class TextBlockJson
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.jsondiagram.TextBlockJson
-
- All Implemented Interfaces:
TextBlock
,UDrawable
,TextBlockBackcolored
,UShape
public class TextBlockJson extends AbstractTextBlock implements TextBlockBackcolored
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension2D
calculateDimension(StringBounder stringBounder)
List<JsonValue>
children()
void
drawU(UGraphic ug)
HColor
getBackcolor()
double
getWidthColA(StringBounder stringBounder)
double
getWidthColB(StringBounder stringBounder)
List<String>
keys()
void
setTotalWidth(double totalWidth)
int
size()
-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition, getMinMax
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Method Detail
-
size
public int size()
-
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlock
-
getWidthColA
public double getWidthColA(StringBounder stringBounder)
-
getWidthColB
public double getWidthColB(StringBounder stringBounder)
-
setTotalWidth
public void setTotalWidth(double totalWidth)
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolor
in interfaceTextBlockBackcolored
-
-