A cell in a Table.
It may occupy multiple rows and columns, but we still keep one cell at each
table position. The ones that are covered by previous cells have their
elem not as a child in the row.
|
NEW(widget) @file | Create a new cell that contains widget.
|
|
$ToString()
string @file | Return the result of ToString() on the widget in the cell.
|
|
$setWidget(widget) @file | Set the widget in this cell to widget.
|
|
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.
|
|