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

File required:dhtmlxwindows.js
  • id - button id
  • pos - button position
  • title - button tooltip
  • label - button name (according to css)
  • allowMove()
    allows window to be moved
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    allowPark()
    allows window to be parked
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    allowResize()
    allows window to be resized
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    attachObject(objId, changeDisp)
    attaches object into window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • objId - object id
  • changeDisp - removes style="display: none;" after adding
  • attachStatusBar(obj, show)
    attach status bar to a window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    attachURL(url)
    attaches url into window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • url
  • attachWebMenu()
    attach dhtmlxWebMenu to a window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    attachWebToolbar()
    attach dhtmlxWebTollbar to a window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    bringToBottom()
    brings/sends window to bottom (z-positioning)
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    bringToTop()
    brings/sends window on top (z-positioning)
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    center()
    centring window in viewport
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    clearIcon()
    clears window's header icon
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    close()
    closes window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    createWindow(id, x, y, width, height)
    creates new window and returns its handler
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • id - window 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 window from moving
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    denyPark()
    denies window from parking
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    denyResize()
    denies window from resizing
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    disable()
    disable button
    Object: dhtmlXWindowsBtn

    File required:dhtmlxwindows.js
    enable()
    enable button
    Object: dhtmlXWindowsBtn

    File required:dhtmlxwindows.js
    enableAutoViewport(state)
    if true - allows object to adjust 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 user handler
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • hander (user function)
  • getBottommostWindow()
    returns bottommost window
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
    getDimension()
    returns current window dimension
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    getIcon()
    returns current window's header icon
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • text
  • getId()
    returns window id
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    getMaxDimension()
    returns current max window dimension
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    getMinDimension()
    returns current min window dimension
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    getPosition()
    returns current window position
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    getText()
    returns window's header text
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    getTopmostWindow(visibleOnly)
    returns topmost window
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
    hide()
    hides window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    hide()
    hide button
    Object: dhtmlXWindowsBtn

    File required:dhtmlxwindows.js
    isEnabled()
    check if button is enabled
    Object: dhtmlXWindowsBtn

    File required:dhtmlxwindows.js
    Returns: true if enabled, otherwise - false
    isHidden()
    returns true if window is hidden
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isHidden()
    check if button is hidden
    Object: dhtmlXWindowsBtn

    File required:dhtmlxwindows.js
    Returns: true if hidden, otherwise - false
    isMaximized()
    returns true if window is maximized
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isModal()
    returns true if window is modal
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isMovable()
    returns true if window is movable
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isOnBottom()
    returns true if window is on bottom
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isOnTop()
    returns true if window is on top
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isParkable()
    returns true if window is parkable
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isParked()
    returns true if window is parked
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isResizable()
    returns true if window is resizable
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isSticked()
    returns true if window is sticked
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    isWindow(id)
    returns true if window with specified id exists
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • id
  • keepInViewport(state)
    keeps window within viewport
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • state - if true - window is not allowed to be placed outside viewport,
  • maximize()
    maximizes window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    minimize()
    minimizes window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    park()
    parks window (next action is based on window's current state)
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    progressOff()
    hide progress indicator
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    progressOn()
    show progress indicator
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    removeUserButton(id)
    removes user button
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • id - button id
  • restoreIcon()
    restores default window's header icon (based on skin)
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    setDimension(width, height)
    sets window dimension
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • width
  • height
  • setIcon(iconEnabled, iconDisabled)
    sets window's header icon
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
  • iconEnabled - url to enabled icon
  • iconDisabled - url to disabled icon
  • setImagePath(path)
    sets path to the directory where used images are located
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • path - url to where images are located
  • setMaxDimension(maxWidth, maxHeight)
    sets max window dimension
    Object: dhtmlXWindowsSngl

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

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

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

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

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

    File required:dhtmlxwindows.js
  • text
  • 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 window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    show()
    show button
    Object: dhtmlXWindowsBtn

    File required:dhtmlxwindows.js
    stick()
    sticks window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    unload()
    unloads object and clears memory
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • id - button id
  • unstick()
    unsticks window
    Object: dhtmlXWindowsSngl

    File required:dhtmlxwindows.js
    window(id)
    returns window handler (dhtmlXWindowSngl object) found by id
    Object: dhtmlXWindows

    File required:dhtmlxwindows.js
  • id