public class GridTextBlockSimple extends java.lang.Object implements TextBlock
| Modifier and Type | Field and Description |
|---|---|
protected NwArray |
data |
static double |
MINIMUM_WIDTH |
| Constructor and Description |
|---|
GridTextBlockSimple(int lines,
int cols,
ISkinParam skinParam) |
| Modifier and Type | Method and 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) |
public static final double MINIMUM_WIDTH
protected final NwArray data
public GridTextBlockSimple(int lines,
int cols,
ISkinParam skinParam)
protected void drawGrid(UGraphic ug)
protected double colWidth(StringBounder stringBounder, int j)
public double lineHeight(StringBounder stringBounder, int i)
public XDimension2D calculateDimension(StringBounder stringBounder)
calculateDimension in interface TextBlockpublic XRectangle2D getInnerPosition(java.lang.String member, StringBounder stringBounder, InnerStrategy strategy)
getInnerPosition in interface TextBlockpublic MinMax getMinMax(StringBounder stringBounder)
public void add(int i,
int j,
NServerDraw value)
protected final ISkinParam getSkinParam()
public MagneticBorder getMagneticBorder()
getMagneticBorder in interface TextBlockpublic HColor getBackcolor()
getBackcolor in interface TextBlock