Class wtNotebook
Object
|
+--wtObject
|
+--wtWidget
|
+--wtNotebook
- class
wtNotebook
- extends wtWidget
A basic tabbed container.
Defined in wt_widget.js
See:
Constructor Summary |
wtNotebook(<wtWidget|DOM_Node> parent)
Constructs a tabbed container.
|
Method Summary |
Object
|
base(<wtWidget> _parent, <String> _tagName)
Constructs a widget based on a DOM node
|
wtNotebookPage
|
newPage(<String|wtWidget> pageTitle)
Adds a new notebook page.
|
void
|
removePage(<Integer> page)
Removes an existing child notebook page.
|
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, addWidget, linkSignal, isAncestorOf, getStyle, setStyle
|
Methods inherited from class wtObject |
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency, clearLapsedListeners
|
wtNotebook
wtNotebook(<wtWidget|DOM_Node> parent)
Constructs a tabbed container.
Parameters:
parent
- The parent container of this widget.
base
Object base(<wtWidget> _parent, <String> _tagName)
Constructs a widget based on a DOM node
Parameters:
_parent
- The container widget to add this widget to. Can also be a DOM node like document.body. Fill in null if you don't want to immediately add this widget to a container.
_tagName
- The new DOM node's HTML tag
newPage
wtNotebookPage newPage(<String|wtWidget> pageTitle)
Adds a new notebook page.
Parameters:
pageTitle
- The tab caption of the new notebook page.
removePage
void removePage(<Integer> page)
Removes an existing child notebook page.
Parameters:
page
- The index of the notebook page. The leftmost notebook page has an index of 0.
Documentation generated by
JSDoc on Sun May 13 11:26:24 2007