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
-
-
Constructor Summary
Constructors Constructor Description TextBlockJson(ISkinParam skinParam, JsonValue root, java.util.List<java.lang.String> highlighted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Dimension2D
calculateDimension(StringBounder stringBounder)
java.util.List<JsonValue>
children()
void
drawU(UGraphic ug)
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.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
-
-
-
-
Constructor Detail
-
TextBlockJson
public TextBlockJson(ISkinParam skinParam, JsonValue root, java.util.List<java.lang.String> highlighted)
-
-
Method Detail
-
size
public int size()
-
children
public java.util.List<JsonValue> children()
-
keys
public java.util.List<java.lang.String> keys()
-
calculateDimension
public java.awt.geom.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
-
-