@Type(tagName="tr", isInnerHTML=false) public class TableRow extends Element
Modifier and Type | Class and Description |
---|---|
static class |
TableRow.Align
he align attribute specifies the horizontal alignment of the content in a
table row
|
static class |
TableRow.VerticalAlign
The valign attribute specifies the vertical alignment of the content in a
table row
|
Constructor and Description |
---|
TableRow() |
Modifier and Type | Method and Description |
---|---|
int |
columns()
Number of TableCells in the row
|
void |
drawAttributes() |
TableRow.Align |
getAlign()
Specify horizontal align of the content in a table row
|
TableCell |
getCell(int column)
Get table cell at column in this row.
|
TableRow.VerticalAlign |
getVerticalAlign()
Specify horizontal align of the content in a table row
|
TableCell |
inserColumn(int column)
Inserts column into row.
|
TableRow |
inserColumn(int column,
TableCell tableCell)
Insert column number at row
|
TableRow |
removeCell(TableCell tableCell)
Remove cell at row (column).
|
TableRow |
removeColumn(int column)
Remove column from row
|
java.lang.Integer |
rowNo()
Return number of row which is in the table.
|
TableRow |
setAlign(TableRow.Align align)
Set "align" property and if element was draw call script at browser.
|
TableRow |
setCell(int column,
TableCell tableCell)
Puts given table cell at column.
|
TableRow |
setVerticalAlign(TableRow.VerticalAlign verticalAlign)
Set "vAlign" property and if element was draw call script at browser.
|
add, addAllDropTargets, addDropTarget, addListener, addStyleClass, alert, assignText, callBack, callBack, callScript, clearDropTargets, clearElements, clearElements, confirm, confirm, drawAttribute, findElement, findParent, findViewElements, fireEvent, fireEvent, fireEventOnView, fireEventOnView, firePropertyChange, focus, getApplication, getBundle, getBundleObject, getCustomDragMove, getDir, getDragDropEventsOptions, getDropTargets, getElements, getElements, getEventListeners, getId, getLang, getParent, getStyle, getStyleClass, getTabIndex, getText, getTitle, insert, isChildrenSetChanged, isContenteditable, isDraggable, isDrawn, isEscapeText, isListening, isListening, isListening, print, prompt, prompt, remove, remove, removeAttribute, removeDropTarget, removeListener, removeListener, removeParent, removeStyleClass, replace, replaceStyleClass, retrieveListeners, retrieveListeners, setChangeChildrenSet, setContenteditable, setCustomDragMove, setDir, setDragDropEventsOptions, setDraggable, setDrawn, setEscapeText, setLang, setParent, setStyle, setStyleClass, setTabIndex, setText, setTitle, transformTagName
@InitializeAttributes public void drawAttributes()
public TableCell getCell(int column)
column
- The table cell to getpublic TableRow setCell(int column, TableCell tableCell)
column
- The table cell to settableCell
- The cell to set at given columnpublic TableRow inserColumn(int column, TableCell tableCell)
column
- numbertableCell
- cell instance to setpublic TableCell inserColumn(int column)
column
- number (index)public TableRow removeCell(TableCell tableCell)
tableCell
- instance to removepublic TableRow removeColumn(int column)
column
- number to removepublic java.lang.Integer rowNo()
public int columns()
public TableRow.Align getAlign()
public TableRow setAlign(TableRow.Align align)
align
- the align to set. If is null call removeAttribute at browser.
If not null call set "vAlign" property to element at browser.public TableRow.VerticalAlign getVerticalAlign()
public TableRow setVerticalAlign(TableRow.VerticalAlign verticalAlign)
verticalAlign
- the verticalAlign to set. If is null call removeAttribute at
browser. If not null call set "vAlign" property to element at
browser.