|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DHTMLSuite.windowWidget
Create a window widget.
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
Field Summary | |
Object |
contentDivs
|
Object |
layoutCSS
|
Object |
layoutOffsetHeightForTheStatusBar
|
Object |
objectIndex
|
Object |
scrollPositions
|
Object |
slideSpeed
|
Constructor Summary | |
DHTMLSuite.windowWidget
(windowModel)
|
Method Summary | |
void
|
activateTab(idOfContent)
Make a specific tab active |
void
|
addTab(tabProperties)
Adds a new tab to the window |
void
|
addWindowModel(windowModel)
Connect window widget with a DHTMLSuite.windowModel |
void
|
appendContent(idOfTab,contentReference)
Append content to the window |
void
|
close()
Closes window, i.e. |
void
|
deleteTab(idOfTab)
Delete a tab (ps! |
Object
|
getDivElement()
Return main div element for this widget. |
void
|
init()
Initializes the widget. |
void
|
loadContent(idOfWindowContentObject,url)
The purpose of this method is to load content into a tab |
void
|
maximizeWindow()
maximize a window |
void
|
minimizeWindow()
Minimize a window |
void
|
purge()
Removes the HTML for the windows from the DOM, i.e. |
void
|
restoreTab(idOfTab)
Restore a deleted tab |
void
|
restoreWindow()
Restore a deleted window, i.e. |
void
|
setHeightOfWindow(newHeight)
Set new height of window |
void
|
setLayoutCss(cssFileName)
Specify new css file for the window. |
void
|
setLayoutOffsetHeightForTheStatusBar(layoutOffsetHeightForTheStatusBar)
This method is only needed in case you use a non-default css file It controls a tuning parameter used to set the correct height of the window(default value is 8) |
void
|
setLayoutThemeWindows()
Windows style theme. |
void
|
setSlideSpeed(slideSpeed)
Specify a text in the status bar |
void
|
setStatusBarText(text)
Specify a text in the status bar |
void
|
setWidthOfWindow(newWidth)
Set new width of window |
void
|
show()
Displays the window |
void
|
slideWindowToXAndY(toX,toY)
Slide a window to a specific coordinate |
Field Detail |
Object contentDivs
Object layoutCSS
Object layoutOffsetHeightForTheStatusBar
Object objectIndex
Object scrollPositions
Object slideSpeed
Constructor Detail |
DHTMLSuite.windowWidget(windowModel)
Object
- windowModel - object of class DHTMLSuite.windowModel
Method Detail |
void activateTab(idOfContent)
String
- - id of content object/tab
void addTab(tabProperties)
Array
- tabProperties - Properties for the new tab(associative array with the DHTMLSuite.windowWidget.prototype.keys = id;tabTitle,contentUrl(optional),textContent(optional),htmlElementId(optional) and isDeleted(optional)
void addWindowModel(windowModel)
Object
- windowModel - Object of class DHTMLSuite.windowModel.
void appendContent(idOfTab,contentReference)
void close()
void deleteTab(idOfTab)
String
- - id of content object/tab
Object getDivElement()
void init()
void loadContent(idOfWindowContentObject,url)
url
- - Url to load into the tab.
String
- - id of content object/tab
void maximizeWindow()
void minimizeWindow()
void purge()
void restoreTab(idOfTab)
String
- idOfTab - id of content object/tab
void restoreWindow()
void setHeightOfWindow(newHeight)
Integer
- height - New height of window. NB! Not larger than eventual set maxHeight
void setLayoutCss(cssFileName)
void setLayoutOffsetHeightForTheStatusBar(layoutOffsetHeightForTheStatusBar)
String
- - id of content object/tab
void setLayoutThemeWindows()
void setSlideSpeed(slideSpeed)
Integer
- - slidespeed ( default = 25 ) - This property is only used when a windowCollection is cascading or tiling windows.
void setStatusBarText(text)
String
- statusbar text
void setWidthOfWindow(newWidth)
Integer
- width - New width of window. NB! Not larger than eventual set maxWidth
void show()
void slideWindowToXAndY(toX,toY)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |