Class wtTextBlock
Object
|
+--wtObject
|
+--wtWidget
|
+--wtShadowWidget
|
+--wtTextBlock
- class
wtTextBlock
- extends wtShadowWidget
A shadowed text block.
Defined in wt_widget.js
Constructor Summary |
wtTextBlock(<wtWidget|DOM_Node> parentWidget, <String> text)
Constructs a shadowed text block.
|
Method Summary |
Object
|
base(<wtWidget> _parent)
Constructs a rectangular container with soft drop shadows
|
Object
|
setText(<String> text)
Sets the text content of the text block.
|
Methods inherited from class wtWidget |
setStaticPosition, setRelativePosition, setAbsolutePosition, getAbsolutePosition, getScreenPosition, setPosition, setSize, setVisible, setDisplay, setAlpha, setDraggable, setDragArea, unsetDragArea, setSelectable, setEnabled, isEnabled, isInside, removeSelf, clearAll, setLevel, linkSignal, isAncestorOf, getStyle, setStyle
|
Methods inherited from class wtObject |
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency, clearLapsedListeners
|
wtTextBlock
wtTextBlock(<wtWidget|DOM_Node> parentWidget, <String> text)
Constructs a shadowed text block.
Parameters:
parentWidget
- The parent container for adding this widget to. Can also be a DOM node or null.
text
- The text contained in the text block.
base
Object base(<wtWidget> _parent)
Constructs a rectangular container with soft drop shadows
Parameters:
_parent
- The parent container for adding this widget to. Can also be a DOM node or null.
setText
Object setText(<String> text)
Sets the text content of the text block.
Parameters:
text
- The new text content.
Documentation generated by
JSDoc on Sun May 13 11:26:24 2007