A row in the table.
The number of entries is flexible, each row can have a different size.
|
NEW() @file | Create a new, empty table row.
|
|
$ToString()
string @file | Return "Row(item, item, ...)"
|
|
$Size()
int @file | Return the size of the row, the number of entries.
|
|
$resize(len) @file | Resize the row to be len entries long.
|
|
$addCell() @file | Add an empty cell to the row.
|
|
$deleteCell(idx) @file | Delete cell idx from the row.
|
|
$setWidget(idx, widget) @file | Set the widget at position idx. Resizes the row as needed.
|
|
$getWidget(colIdx)
ZWT.Widget @file | Get the Widget at column colIdx.
|
|
$setColStyle(colIdx, style) @file | Set the style for the widget at column colIdx
|
|
Inherited from ZWT.UIObject:
|
ZWT.Element |
$elem
@public
| The HTML element for this Item.
|
|
|
$setStyle(style) @public | Set the main Style for this UIObject to style.
|
|
$setStyleList(styles) @public | Set the list of Styles for this UIObject to styles.
|
|
$addStyle(style) @public | Add style to this UIObject, keeping previously set ones.
|
|
$removeStyle(style) @public | Remove style from this UIObject.
|
|
$getStyle()
ZWT.Style @public | Return the main Style for this UIObject.
|
|
$getStyleList()
list<ZWT.Style> @public | Return the list of Styles for this UIObject.
|
|
$getWidth()
int @public | Return the width of the Element.
|
|
$getHeight()
int @public | Return the height of the Element.
|
|
$getTop()
int @public | Return the vertical position of the Element in the page
|
|
$getTop(container)
int @public | Return the vertical position of the Element within container
|
|
$getLeft()
int @public | Return the horizontal position of the Element in the page
|
|
$getLeft(container)
int @public | Return the horizontal position of the Element within container
|
|
$setHidden(hidden) @public | Set the item to be hidden or displayed.
|
|