public static class HtmlUtils.HtmlTableBuilder extends HtmlUtils.HtmlBuilder
Modifier and Type | Field and Description |
---|---|
protected int |
columnCount |
static int |
DEFAULT_COLUMN_COUNT |
protected boolean |
headerSet |
protected boolean |
leadingColon |
builder, building
Constructor and Description |
---|
HtmlUtils.HtmlTableBuilder() |
HtmlUtils.HtmlTableBuilder(int capacity) |
Modifier and Type | Method and Description |
---|---|
HtmlUtils.HtmlTableBuilder |
addRow(java.lang.String... items) |
HtmlUtils.HtmlTableBuilder |
addRowEscaped(java.lang.String... items) |
protected void |
finish0() |
int |
getColumnCount() |
boolean |
isLeadingColon() |
HtmlUtils.HtmlTableBuilder |
setColumnCount(int columnCount) |
HtmlUtils.HtmlTableBuilder |
setHeader(java.lang.Object... items) |
HtmlUtils.HtmlTableBuilder |
setLeadingColon(boolean leadingColon) |
HtmlUtils.HtmlTableBuilder |
start() |
HtmlUtils.HtmlTableBuilder |
start(boolean leadingColon) |
HtmlUtils.HtmlTableBuilder |
start(int columnCount) |
HtmlUtils.HtmlTableBuilder |
start(int columnCount,
boolean leadingColon) |
protected void |
start0() |
finish, getResult, isBuilding
protected int columnCount
protected boolean leadingColon
protected boolean headerSet
public static final int DEFAULT_COLUMN_COUNT
public HtmlUtils.HtmlTableBuilder()
public HtmlUtils.HtmlTableBuilder(int capacity)
capacity
- public HtmlUtils.HtmlTableBuilder start()
start
in class HtmlUtils.HtmlBuilder
public HtmlUtils.HtmlTableBuilder start(int columnCount)
public HtmlUtils.HtmlTableBuilder start(boolean leadingColon)
public HtmlUtils.HtmlTableBuilder start(int columnCount, boolean leadingColon)
protected void finish0()
finish0
in class HtmlUtils.HtmlBuilder
protected void start0()
start0
in class HtmlUtils.HtmlBuilder
public HtmlUtils.HtmlTableBuilder setHeader(java.lang.Object... items)
public HtmlUtils.HtmlTableBuilder addRowEscaped(java.lang.String... items)
public HtmlUtils.HtmlTableBuilder addRow(java.lang.String... items)
public int getColumnCount()
public HtmlUtils.HtmlTableBuilder setColumnCount(int columnCount)
columnCount
- the columnCount to setpublic boolean isLeadingColon()
public HtmlUtils.HtmlTableBuilder setLeadingColon(boolean leadingColon)
leadingColon
- the leadingColon to set