expandcollaps
addUserButton(id, pos, title, label)
adds a user button
Object: dhtmlXWindowsSngl

File required:dhtmlxwindows.js
  • id - button's id
  • pos - button's position
  • title - button's tooltip
  • label - 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 id
  • attachAccordion()
    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 skin
  • attachFolders()
    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 string
  • attachLayout(view, skin)
    attaches a dhtmlxLayout to a window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • view - layout's pattern
  • skin - layout's skin
  • attachObject(obj, autoSize)
    attaches an object into a window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • obj - object or object id
  • autoSize - set true to adjust a window to object's dimension
  • attachTabbar()
    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 details
  • attachURL(url, ajax)
    attaches an url into a window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • url
  • ajax - loads an url with ajax
  • attachViewportTo(objId)
    attaches a vp to an existing object on page (renders an object as a viewport)
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • objId - object id
  • bringToBottom()
    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 id
  • x - top-left window corner's X-coordinate
  • y - top-left window corner's Y-coordinate
  • width - window's width
  • height - window's height
  • denyMove()
    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|false
  • findByText(text)
    returns array of window handlers found by header text
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • id
  • forEachWindow(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 name
  • getIcon()
    returns current window's header icon
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • text
  • getId()
    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
  • id
  • keepInViewport(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 viewport
  • maximize()
    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 id
  • restoreIcon()
    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
  • width
  • height
  • setEffect(efName, efValue)
    sets a visual effect
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • efName - effect's name
  • efValue - true/false to enable/disable
  • setIcon(iconEnabled, iconDisabled)
    sets window's header icon
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • iconEnabled - url to the icon for the enabled state
  • iconDisabled - url to the icon for the disabled state
  • setImagePath(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 located
  • setMaxDimension(maxWidth, maxHeight)
    sets max window's dimension
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • maxWidth
  • maxHeight
  • setMinDimension(minWidth, minHeight)
    sets min window's dimension
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • minWidth
  • minHeight
  • setModal(state)
    makes a window modal/modeless
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • state - true|false
  • setPosition(x, y)
    sets window's position (moves a window to the point set by user)
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • x - x coordinate
  • y - y coordinate
  • setSkin(skin)
    changes window's skin
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • skin - skin's name
  • setText(text)
    sets window's header text
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • text
  • setToFullScreen(state)
    sets a window to the fullscreen mode
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • state - true|false
  • setViewport(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-coordinate
  • y - top-left viewport corner's Y-coordinate
  • width - viewport's width
  • height - viewport's height
  • show()
    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 id
  • unstick()
    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