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 XDimension2DcalculateDimension(StringBounder stringBounder)java.util.List<JsonValue>children()voiddrawU(UGraphic ug)double[]getAllHeights(StringBounder stringBounder)HColorgetBackcolor()doublegetWidthColA(StringBounder stringBounder)doublegetWidthColB(StringBounder stringBounder)java.util.List<java.lang.String>keys()voidsetTotalWidth(double totalWidth)intsize()-
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:
getBackcolorin interfaceTextBlock- Overrides:
getBackcolorin classAbstractTextBlock
-
-