|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.flotsam.pecia.builder.base.RowFactory.ColDef<T>
T - The type of parent.public static class RowFactory.ColDef<T>
An object allowing you to either create a new column, or to construct a new row.
| Constructor Summary | |
|---|---|
RowFactory.ColDef(DocumentBuilder builder,
T parent,
boolean header)
Constructs a new instance. |
|
| Method Summary | |
|---|---|
RowFactory.ColDef<Entry<T>> |
col()
Inserts a new column. |
Row<Entry<T>> |
create(boolean first)
Constructs the row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RowFactory.ColDef(DocumentBuilder builder,
T parent,
boolean header)
builder - The object used to track progress while building the
document.parent - The parent object.header - A boolean indicating if this cell represents a header cell
or not.| Method Detail |
|---|
public Row<Entry<T>> create(boolean first)
first - Whether or not this is the first row of the table.
public RowFactory.ColDef<Entry<T>> col()
RowFactory.ColDef defining the new column.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||