Class TextBlockJson
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.shape.AbstractTextBlock
-
- net.sourceforge.plantuml.jsondiagram.TextBlockJson
-
public class TextBlockJson extends AbstractTextBlock
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XDimension2D
calculateDimension(StringBounder stringBounder)
java.util.List<JsonValue>
children()
void
drawU(UGraphic ug)
double[]
getAllHeights(StringBounder stringBounder)
HColor
getBackcolor()
double
getWidthColA(StringBounder stringBounder)
double
getWidthColB(StringBounder stringBounder)
java.util.List<java.lang.String>
keys()
void
setTotalWidth(double totalWidth)
int
size()
-
Methods inherited from class net.sourceforge.plantuml.klimt.shape.AbstractTextBlock
getInnerPosition, getMagneticBorder, getMinMax
-
-
-
-
Method Detail
-
size
public int size()
-
children
public java.util.List<JsonValue> children()
-
keys
public java.util.List<java.lang.String> keys()
-
calculateDimension
public XDimension2D calculateDimension(StringBounder stringBounder)
-
getWidthColA
public double getWidthColA(StringBounder stringBounder)
-
getWidthColB
public double getWidthColB(StringBounder stringBounder)
-
drawU
public void drawU(UGraphic ug)
-
getAllHeights
public double[] getAllHeights(StringBounder stringBounder)
-
setTotalWidth
public void setTotalWidth(double totalWidth)
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolor
in interfaceTextBlock
- Overrides:
getBackcolor
in classAbstractTextBlock
-
-