addUserButton(id, pos, title, label)
adds a user button
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
id - button's idpos - button's positiontitle - button's tooltiplabel - button's name (according to css)allowMove()
allows a window to be moved
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
allowPark()
allows a window to be parked
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
allowResize()
allows a window to be resized
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
appendObject(obj)
appends an object into a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
obj - object or object idattachAccordion()
attaches a dhtmlxAccordion to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
attachEditor(skin)
attaches a dhtmlxEditor to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
skin - not mandatory, editor's skinattachFolders()
attaches a dhtmlxFolders to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
attachGrid()
attaches a dhtmlxGrid to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
attachHTMLString(str)
attaches an html string as an object into a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
str - html stringattachLayout(view, skin)
attaches a dhtmlxLayout to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
view - layout's patternskin - layout's skinattachObject(obj, autoSize)
attaches an object into a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
obj - object or object idautoSize - set true to adjust a window to object's dimensionattachTabbar()
attaches a dhtmlxTabbar to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
attachTree(rootId)
attaches a dhtmlxTree to a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
rootId - not mandatory, tree super root, see dhtmlxTree documentation for detailsattachURL(url, ajax)
attaches an url into a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
urlajax - loads an url with ajaxattachViewportTo(objId)
attaches a vp to an existing object on page (renders an object as a viewport)
Object: dhtmlXWindows
File required:dhtmlxwindows.js
objId - object idbringToBottom()
brings/sends a window to bottom (z-positioning)
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
bringToTop()
brings/sends a window on top (z-positioning)
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
center()
centers a window in the viewport
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
centerOnScreen()
centers a window on the screen
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
clearIcon()
clears window's header icon
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
close()
closes a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
createWindow(id, x, y, width, height)
creates a new window and returns its handler
Object: dhtmlXWindows
File required:dhtmlxwindows.js
id - window's idx - top-left window corner's X-coordinatey - top-left window corner's Y-coordinatewidth - window's widthheight - window's heightdenyMove()
denies a window from moving
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
denyPark()
denies a window from parking
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
denyResize()
denies a window from resizing
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
disable()
disables a button
Object: dhtmlXWindowsBtn
File required:dhtmlxwindows.js
enable()
enables a button
Object: dhtmlXWindowsBtn
File required:dhtmlxwindows.js
enableAutoViewport(state)
if true - allows an object to adjust the viewport automatically to document.body
Object: dhtmlXWindows
File required:dhtmlxwindows.js
state - true|falsefindByText(text)
returns array of window handlers found by header text
Object: dhtmlXWindows
File required:dhtmlxwindows.js
idforEachWindow(handler)
iterator - goes through all windows and calls a user handler
Object: dhtmlXWindows
File required:dhtmlxwindows.js
hander (user function)getBottommostWindow()
returns the bottommost window
Object: dhtmlXWindows
File required:dhtmlxwindows.js
getDimension()
returns current window's dimension
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
getEffect(efName)
returns true if the effect is enabled
Object: dhtmlXWindows
File required:dhtmlxwindows.js
efName - effect's namegetIcon()
returns current window's header icon
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
textgetId()
returns window's id
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
getMaxDimension()
returns current max window's dimension
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
getMinDimension()
returns current min window's dimension
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
getPosition()
returns current window's position
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
getText()
returns window's header text
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
getTopmostWindow(visibleOnly)
returns the topmost window
Object: dhtmlXWindows
File required:dhtmlxwindows.js
hide()
hides a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
hide()
hides a button
Object: dhtmlXWindowsBtn
File required:dhtmlxwindows.js
hideHeader()
hides window's header
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isEnabled()
checks if a button is enabled
Object: dhtmlXWindowsBtn
File required:dhtmlxwindows.js
Returns: true if enabled, otherwise - false
isHidden()
returns true if the window is hidden
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isHidden()
checks if a button is hidden
Object: dhtmlXWindowsBtn
File required:dhtmlxwindows.js
Returns: true if hidden, otherwise - false
isMaximized()
returns true if the window is maximized
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isModal()
returns true if the window is modal
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isMovable()
returns true if the window is movable
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isOnBottom()
returns true if the window is on bottom
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isOnTop()
returns true if the window is on top
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isParkable()
returns true if the window is parkable
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isParked()
returns true if the window is parked
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isResizable()
returns true if the window is resizable
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isSticked()
returns true if the window is sticked
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
isWindow(id)
returns true if the window with specified id exists
Object: dhtmlXWindows
File required:dhtmlxwindows.js
idkeepInViewport(state)
keeps a window within the viewport
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
state - if true - window is not allowed to be placed outside the viewportmaximize()
maximizes a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
minimize()
minimizes a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
park()
parks a window (next action is based on window's current state)
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
progressOff()
hides a progress indicator
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
progressOn()
shows a progress indicator
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
removeUserButton(id)
removes a user button
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
id - button's idrestoreIcon()
restores default window's header icon (based on skin)
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
setDimension(width, height)
sets window's dimension
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
widthheightsetEffect(efName, efValue)
sets a visual effect
Object: dhtmlXWindows
File required:dhtmlxwindows.js
efName - effect's nameefValue - true/false to enable/disablesetIcon(iconEnabled, iconDisabled)
sets window's header icon
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
iconEnabled - url to the icon for the enabled stateiconDisabled - url to the icon for the disabled statesetImagePath(path)
sets path to the directory where used images are located
Object: dhtmlXWindows
File required:dhtmlxwindows.js
path - url to the directory where images are locatedsetMaxDimension(maxWidth, maxHeight)
sets max window's dimension
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
maxWidthmaxHeightsetMinDimension(minWidth, minHeight)
sets min window's dimension
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
minWidthminHeightsetModal(state)
makes a window modal/modeless
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
state - true|falsesetPosition(x, y)
sets window's position (moves a window to the point set by user)
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
x - x coordinatey - y coordinatesetSkin(skin)
changes window's skin
Object: dhtmlXWindows
File required:dhtmlxwindows.js
skin - skin's namesetText(text)
sets window's header text
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
textsetToFullScreen(state)
sets a window to the fullscreen mode
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
state - true|falsesetViewport(x, y, width, height, parentObj)
sets user-defined viewport if enableAutoViewport(false)
Object: dhtmlXWindows
File required:dhtmlxwindows.js
x - top-left viewport corner's X-coordinatey - top-left viewport corner's Y-coordinatewidth - viewport's widthheight - viewport's heightshow()
shows a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
show()
shows a button
Object: dhtmlXWindowsBtn
File required:dhtmlxwindows.js
showHeader()
shows window's header
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
stick()
sticks a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
unload()
unloads an object and clears memory
Object: dhtmlXWindows
File required:dhtmlxwindows.js
id - button's idunstick()
unsticks a window
Object: dhtmlXWindowsSngl
File required:dhtmlxwindows.js
window(id)
returns the window handler (dhtmlXWindowSngl object) found by id
Object: dhtmlXWindows
File required:dhtmlxwindows.js
id