Class TitledViewer
Object
|
+--Widget
|
+--TitledViewer
- class
TitledViewer
- extends Widget
Defined in titled_viewer.js
|
Constructor Summary |
TitledViewer
(<string> title, unused1, unused2, unused3, <boolean> scrollable)
Creates a new titled viewer.
|
|
Method Summary |
void
|
appendObject(<Widget> object)
Appends object to the 'content' area of the viewer.
|
void
|
clear()
Calls clear() on the main viewable area of the container.
|
void
|
replaceContainer(<Widget> newWidget, <boolean> layout)
Completely deletes the viewable area of the container and replaces it with
newWidget.
|
void
|
replaceMain(<Widget> newWidget, <boolean> layout)
Deletes the contents of the main container and replaces it with a newWidget.
|
void
|
setText(<string> text)
Sets the title to text.
|
| Methods inherited from class Widget |
installContextMenu, installDefaultContextMenu, uninstallContextMenu, isDraggable, setDraggable, addEventListener, blur, createEventTable, dispose, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getBottom, getBounds, getClientHeight, getClientWidth, getCorner, getHeight, getLeft, getPixelsPerEm, getRight, getToolTip, getTop, getWidth, isDisposed, isEnabled, layout, moveToAbsolute, moveTo, raiseEvent, registerEventType, removeEventListener, setAbsoluteBottom, setAbsoluteLeft, setAbsoluteRight, setAbsoluteTop, setBottom, setBounds, setEnabled, setHeight, setLeft, setRight, setToolTip, setTop, setWidth, setParent, toString
|
children
var children
layoutManager
var layoutManager
main
var main
scrolling
var scrolling
TitledViewer
function TitledViewer(<string> title, unused1, unused2, unused3, <boolean> scrollable)
Creates a new titled viewer. A titled viewer is a container that has a nice title
caption like in most microsoft products.
Parameters:
title - the title of the viewer
unused1 - this parameter is deprecated
unused2 - this parameter is deprecated
unused3 - this parameter is deprecated
scrollable - (Optional) - if true then the viewer will be allowed to grow scrollbars when necessary
appendObject
void appendObject(<Widget> object)
Appends object to the 'content' area of the viewer.
Parameters:
object - a Widget to append the main area
clear
void clear()
Calls clear() on the main viewable area of the container.
replaceContainer
void replaceContainer(<Widget> newWidget, <boolean> layout)
Completely deletes the viewable area of the container and replaces it with
newWidget.
Parameters:
newWidget - the widget to replace the main area of the TitledViewer
layout - (Optional) - if true then after newWidget has been inserted, layout() is called. Defaults to false.
replaceMain
void replaceMain(<Widget> newWidget, <boolean> layout)
Deletes the contents of the main container and replaces it with a newWidget.
Parameters:
newWidget - a widget to display in the main area of the TitledViewer
layout - (Optional) - if true then after newWidget has been inserted, layout() is called. Defaults to false.
setText
void setText(<string> text)
Parameters:
text - the string to display as the title
