public class SmartTable.CellMutator extends Object
| Modifier and Type | Method and Description |
|---|---|
SmartTable.CellMutator |
alignBottom()
Sets the vertical alignment for the cell to "bottom".
|
SmartTable.CellMutator |
alignCenter()
Sets the horizontal alignment for the cell to "center".
|
SmartTable.CellMutator |
alignDefault()
Sets the horizontal alignment for the cell to "default".
|
SmartTable.CellMutator |
alignLeft()
Sets the horizontal alignment for the cell to "left".
|
SmartTable.CellMutator |
alignMiddle()
Sets the vertical alignment for the cell to "middle".
|
SmartTable.CellMutator |
alignRight()
Sets the horizontal alignment for the cell to "right".
|
SmartTable.CellMutator |
alignTop()
Sets the vertical alignment for the cell to "top".
|
SmartTable.CellMutator |
clear()
Clears the widget or text from the cell.
|
SmartTable.CellMutator |
colSpan(int span)
Sets the colspan attribute of the cell to the given span.
|
SmartTable.CellMutator |
fillText(String... values)
Fills in the current row with the given column text values and advances the column.
|
SmartTable |
finish()
Returns the table associated with this mutator.
|
int |
getCol()
Returns the column number of the cell that this mutator is set to modify.
|
int |
getRow()
Returns the row number of the cell that this mutator is set to modify.
|
SmartTable.CellMutator |
height(String height)
Sets the height of the cell.
|
SmartTable.CellMutator |
html(String html)
Sets the cell content to the given html.
|
SmartTable.CellMutator |
next()
Moves this cell mutator to the next row in the table and the 0th column.
|
SmartTable.CellMutator |
nextCol()
Moves this cell mutator to the next column in the table.
|
SmartTable.CellMutator |
removeStyles(String... names)
Removes the given styles from the cell.
|
SmartTable.CellMutator |
styles(String... names)
Adds the given styles to the cell.
|
SmartTable.CellMutator |
text(String text)
Sets the cell content to the given text.
|
SmartTable.CellMutator |
widget(Widget widget)
Sets the cell content to the given widget.
|
SmartTable.CellMutator |
width(String width)
Sets the width of the cell.
|
public SmartTable.CellMutator widget(Widget widget)
public SmartTable.CellMutator text(String text)
public SmartTable.CellMutator html(String html)
public SmartTable.CellMutator colSpan(int span)
public SmartTable.CellMutator styles(String... names)
public SmartTable.CellMutator removeStyles(String... names)
public SmartTable.CellMutator clear()
public SmartTable.CellMutator alignTop()
public SmartTable.CellMutator alignMiddle()
public SmartTable.CellMutator alignBottom()
public SmartTable.CellMutator alignLeft()
public SmartTable.CellMutator alignCenter()
public SmartTable.CellMutator alignRight()
public SmartTable.CellMutator alignDefault()
public SmartTable.CellMutator width(String width)
public SmartTable.CellMutator height(String height)
public SmartTable.CellMutator nextCol()
public SmartTable.CellMutator fillText(String... values)
public SmartTable.CellMutator next()
public int getRow()
public int getCol()
public SmartTable finish()
Copyright © 2013. All Rights Reserved.