Lowest level ZWT object. Wraps an HTML Element. Cannot handle events.
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.
|
|
Known subclasses: