@Deprecated public abstract class GenericTableFormBuilder extends GenericFormBuilder
FormBuilder.
This explicitly makes forms that are represented by some kind of table. It contains
basic table manipulation code and stuff.LOG| Constructor and Description |
|---|
GenericTableFormBuilder()
Deprecated.
|
GenericTableFormBuilder(Class<T> clz,
IReadOnlyModel<T> mdl)
Deprecated.
|
GenericTableFormBuilder(T instance)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
TD |
addCell()
Deprecated.
Add a new cell to the last-used row.
|
TD |
addCell(String css)
Deprecated.
|
TR |
addRow()
Deprecated.
Add a new row to the current body; create a body (and a table) if necessary.
|
TD |
addRowAndCell()
Deprecated.
|
TD |
addRowAndCell(String tdcss)
Deprecated.
|
NodeContainer |
finish()
Deprecated.
This finishes off the current table by calculating colspans for all skewed rows.
|
TR |
getLastUsedRow()
Deprecated.
Get the last-used row.
|
Table |
getTable()
Deprecated.
Return the current table, or null if nothing is current.
|
TBody |
getTBody()
Deprecated.
Return the current tbody, or null if nothing is current.
|
protected void |
internalClearLocation()
Deprecated.
Called when a new table, body or whatever is made current; it should reset all known positioning information.
|
TBody |
newBody()
Deprecated.
Creates a new TBody and adds it to the table.
|
protected void |
onBodyAdded(TBody b)
Deprecated.
|
protected void |
onRowAdded(TR row)
Deprecated.
|
protected void |
onTableAdded(Table t)
Deprecated.
Called when a new table is added.
|
void |
reset()
Deprecated.
Clears the current generated layout and starts a new table.
|
TR |
row()
Deprecated.
Gets the last-used row.
|
TR |
selectRow(int ix)
Deprecated.
This makes the row with the specified index in the current body the "current" row.
|
protected void |
setLastUsedCell(TD cell)
Deprecated.
|
protected void |
setLastUsedRow(TR row)
Deprecated.
|
void |
setTable(Table b)
Deprecated.
Sets a new table.
|
void |
setTBody(TBody b)
Deprecated.
Sets the TBody to use.
|
protected Table |
table()
Deprecated.
Gets the current table, or creates a new one if none is set.
|
protected TBody |
tbody()
Deprecated.
Gets the current tbody, or creates a new one if none is set.
|
addContent, addContent, addContent, addContent, addControl, addControl, addDisplayProp, addDisplayProp, addDisplayProp, addDisplayProps, addLabelAndControl, addLabelAndControl, addListOfProperties, addProp, addProp, addProp, addProp, addProp, addProp, addProp, addProp, addPropertyAndControl, addPropertyControl, addPropscreateControlFor, getBindings, getBuilder, getClassMeta, getControlLabelFactory, getCurrentInputClass, getModel, resolveProperty, setBindings, setClassModel, setControlLabelFactory, setInstance, setMetaModel, updateReadOnlypublic GenericTableFormBuilder()
public GenericTableFormBuilder(Class<T> clz, IReadOnlyModel<T> mdl)
public GenericTableFormBuilder(T instance)
protected void internalClearLocation()
public void reset()
public void setTable(Table b)
b - public void setTBody(TBody b)
b - protected void onTableAdded(Table t)
t - protected void onBodyAdded(TBody b)
protected void onRowAdded(TR row)
public Table getTable()
public TBody getTBody()
protected Table table()
onTableAdded(Table) event.protected TBody tbody()
onBodyAdded(TBody) event.public TBody newBody()
public NodeContainer finish()
@Nonnull public TR addRow()
@Nonnull public TR row()
@Nullable public TR getLastUsedRow()
public TR selectRow(int ix)
ix - protected void setLastUsedRow(TR row)
protected void setLastUsedCell(TD cell)
Copyright © 2017 etc.to. All rights reserved.