Class GridTextBlockSimple
- java.lang.Object
-
- net.sourceforge.plantuml.nwdiag.next.GridTextBlockSimple
-
- Direct Known Subclasses:
GridTextBlockDecorated
public class GridTextBlockSimple extends java.lang.Object implements TextBlock
-
-
Field Summary
Fields Modifier and Type Field Description protected NwArray
data
static double
MINIMUM_WIDTH
-
Constructor Summary
Constructors Constructor Description GridTextBlockSimple(int lines, int cols, ISkinParam skinParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int i, int j, NServerDraw value)
XDimension2D
calculateDimension(StringBounder stringBounder)
protected double
colWidth(StringBounder stringBounder, int j)
protected void
drawGrid(UGraphic ug)
void
drawU(UGraphic ug)
HColor
getBackcolor()
XRectangle2D
getInnerPosition(java.lang.String member, StringBounder stringBounder, InnerStrategy strategy)
MagneticBorder
getMagneticBorder()
MinMax
getMinMax(StringBounder stringBounder)
protected ISkinParam
getSkinParam()
double
lineHeight(StringBounder stringBounder, int i)
-
-
-
Field Detail
-
MINIMUM_WIDTH
public static final double MINIMUM_WIDTH
- See Also:
- Constant Field Values
-
data
protected final NwArray data
-
-
Constructor Detail
-
GridTextBlockSimple
public GridTextBlockSimple(int lines, int cols, ISkinParam skinParam)
-
-
Method Detail
-
drawGrid
protected void drawGrid(UGraphic ug)
-
colWidth
protected double colWidth(StringBounder stringBounder, int j)
-
lineHeight
public double lineHeight(StringBounder stringBounder, int i)
-
calculateDimension
public XDimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlock
-
getInnerPosition
public XRectangle2D getInnerPosition(java.lang.String member, StringBounder stringBounder, InnerStrategy strategy)
- Specified by:
getInnerPosition
in interfaceTextBlock
-
getMinMax
public MinMax getMinMax(StringBounder stringBounder)
-
add
public void add(int i, int j, NServerDraw value)
-
getSkinParam
protected final ISkinParam getSkinParam()
-
getMagneticBorder
public MagneticBorder getMagneticBorder()
- Specified by:
getMagneticBorder
in interfaceTextBlock
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolor
in interfaceTextBlock
-
-