public static class FluentTable.Cell extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
column
The column we're formatting.
|
int |
row
The row we're formatting.
|
| Modifier and Type | Method and Description |
|---|---|
FluentTable.Cell |
add()
Returns the cell below this cell at column 0, (row+1, 0).
|
FluentTable.Cell |
alignBottom()
Makes the cell we're formatting align bottom.
|
FluentTable.Cell |
alignCenter()
Makes the cell we're formatting align center.
|
FluentTable.Cell |
alignLeft()
Makes the cell we're formatting align left.
|
FluentTable.Cell |
alignMiddle()
Makes the cell we're formatting align middle.
|
FluentTable.Cell |
alignRight()
Makes the cell we're formatting align right.
|
FluentTable.Cell |
alignTop()
Makes the cell we're formatting align top.
|
FluentTable.Cell |
down()
Returns the cell below this cell, (row+1, column).
|
FluentTable.Cell |
right()
Returns the cell to the right of this cell, (row, column+1).
|
FluentTable.Cell |
setColSpan(int colSpan)
Sets the colspan of the cell we're formatting.
|
FluentTable.Cell |
setHTML(String text,
String... styles)
Sets the HTML in this cell to the supplied value.
|
FluentTable.Cell |
setRowSpan(int rowSpan)
Sets the rowspan of the cell we're formatting.
|
FluentTable.Cell |
setStyles(String... styles)
Configures the specified style names on our cell.
|
FluentTable.Cell |
setText(Object text,
String... styles)
Sets the text of this cell to the string value of the supplied object.
|
FluentTable.Cell |
setWidget(Widget widget,
String... styles)
Sets the contents of this cell to the specified widget.
|
FluentTable.Cell |
setWidgets(Widget... widgets)
Sets the contents of this cell to a FlowPanel that contains the specified widgets.
|
FluentTable |
table()
Returns the table associated with this cell.
|
public final int row
public final int column
public FluentTable.Cell setText(Object text, String... styles)
public FluentTable.Cell setHTML(String text, String... styles)
public FluentTable.Cell setWidget(Widget widget, String... styles)
public FluentTable.Cell setWidgets(Widget... widgets)
public FluentTable.Cell alignTop()
public FluentTable.Cell alignBottom()
public FluentTable.Cell alignMiddle()
public FluentTable.Cell alignLeft()
public FluentTable.Cell alignRight()
public FluentTable.Cell alignCenter()
public FluentTable.Cell setRowSpan(int rowSpan)
public FluentTable.Cell setColSpan(int colSpan)
public FluentTable.Cell setStyles(String... styles)
public FluentTable.Cell right()
public FluentTable.Cell down()
public FluentTable.Cell add()
public FluentTable table()
new FluentTable().add().setText("Foo").right().setText("Bar").table()Copyright © 2013. All Rights Reserved.