|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DHTMLSuite.windowDataModel
Purpose of class: Save metadata about a window. (Demo)
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0
Field Summary | |
Object |
windowDataModelContent
|
Constructor Summary | |
DHTMLSuite.windowDataModel
()
|
Method Summary | |
void
|
createWindowsFromMarkup(elementId)
Create windows from markup. |
void
|
setClosable(closable)
Specify if you should be able to close the window(close icon) or not |
void
|
setCookieName(cookieName)
Specify name of cookie for this window(i.e where to store variables such as x and y pos, width and height, state and z-index |
void
|
setIcon(newIcon)
Specify path to window icon |
void
|
setMinimizable(minimizable)
Specify if the window should be resizable or not |
void
|
setResizable(resizable)
Specify if the window should be resizable or not |
void
|
setTabIcons(newTabIcons)
Specify path of window tabs icons. |
void
|
setTabTitles(newTabTitles)
Specify title of window tabs. |
void
|
setTitle(newTitle)
Specify title of window |
Field Detail |
Object windowDataModelContent
Constructor Detail |
DHTMLSuite.windowDataModel()
Method Detail |
void createWindowsFromMarkup(elementId)
String
- elementId - ID of parent element of the windows. Remember that window content divs has to have class name "DHTMLSuite_windowContent" Example of syntax for the markup void setClosable(closable)
Boolean
- resizable - Specify if you should be able to close the window(close icon) or not
void setCookieName(cookieName)
String
- cookieName - New cookie name
void setIcon(newIcon)
String
- newIcon - Path to new icon
void setMinimizable(minimizable)
Boolean
- resizable - true or false, true if the window is minimizable, false otherwise.
void setResizable(resizable)
Boolean
- resizable - true or false, true if the window is resizable, false otherwise.
void setTabIcons(newTabIcons)
Array
- newTabIcons - Array of strings. the setIcon method of windowDataContent will be called for each tab in this window
void setTabTitles(newTabTitles)
Array
- newTabTitles - Array of strings. the setTitle method of windowDataContent will be called for each tab in this window
void setTitle(newTitle)
String
- newTitle - New title of window content(a tab).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |