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 NwArraydatastatic doubleMINIMUM_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 voidadd(int i, int j, NServerDraw value)XDimension2DcalculateDimension(StringBounder stringBounder)protected doublecolWidth(StringBounder stringBounder, int j)protected voiddrawGrid(UGraphic ug)voiddrawU(UGraphic ug)HColorgetBackcolor()XRectangle2DgetInnerPosition(java.lang.String member, StringBounder stringBounder, InnerStrategy strategy)MagneticBordergetMagneticBorder()MinMaxgetMinMax(StringBounder stringBounder)protected ISkinParamgetSkinParam()doublelineHeight(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:
calculateDimensionin interfaceTextBlock
-
getInnerPosition
public XRectangle2D getInnerPosition(java.lang.String member, StringBounder stringBounder, InnerStrategy strategy)
- Specified by:
getInnerPositionin 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:
getMagneticBorderin interfaceTextBlock
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolorin interfaceTextBlock
-
-