_doOnLoad()
alias of setIconsPath
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
addButton(id, pos, text, imgEnabled, imgDisabled)
adds a button to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of a buttonpos - position of a buttontext - text for a button (null for no text)imgEnabled - image for enabled state (null for no image)imgDisabled - image for desabled state (null for no image)addButtonSelect(id, pos, text, opts, imgEnabled, imgDisabled)
adds a select button to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of a select buttonpos - position of a select buttontext - text for a select button (null for no text)opts - listed options for a select buttonimgEnabled - image for enabled state (null for no image)imgDisabled - image for desabled state (null for no image)addButtonTwoState(id, pos, text, imgEnabled, imgDisabled)
adds a two-state button to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of a two-state buttonpos - position of a two-state buttontext - text for a two-state button (null for no text)imgEnabled - image for enabled state (null for no image)imgDisabled - image for desabled state (null for no image)addInput(id, pos, value, width)
adds an input item to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of an input itempos - position of an input itemvalue - value (text) in an input item by the defaultwidth - width of an input item (px)addListOption(parentId, optionId, pos, type, text, img)
adds a listed option to a select button
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionpos - position of a listed optiontype - type of a listed option (button|separator)text - text for a listed optionimg - image for a listed optionaddSeparator(id, pos)
adds a separator to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of a separatorpos - position of a separatoraddSlider(id, pos, len, valueMin, valueMax, valueNow, textMin, textMax, tip)
adds a slider to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of a sliderpos - position of a sliderlen - length (width) of a slider (px)valueMin - minimal available value of a slidervalueMax - maximal available value of a slidervalueNow - initial current value of a slidertextMin - label for minimal value side (on the left side)textMax - label for maximal value side (on the right side)tip - tooltip template (%v will replaced with current value)addText(id, pos, text)
adds a text item to webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
id - id of a text itempos - position of a text itemtext - text for a text itemclearItemImage(itemId)
removes an image of an item in enabled state
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemclearItemImageDis(itemId)
removes an image of an item in disabled state
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemclearListOptionImage(parentId, optionId)
removes an image (if exists) of a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiondisableItem(itemId)
disables a specified item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an item to disabledisableListOption(parentId, optionId)
disables a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionenableItem(itemId)
enables a specified item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an item to enableenableListOption(parentId, optionId)
enables a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionforEachItem(handler)
iterator, calls user handler for each item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
handler - user function, will take item id as an argumentforEachListOption(parentId, handler)
calls user defined handler for each listed option of parentId
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonhandler - user defined function, listed option id will passed as an argumentgetAllListOptions(parentId)
returns array with ids of all listed options for parentId
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttongetItemState(itemId)
returns current state of a two-state button
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a two-state item to checkgetItemText(itemId)
return cureent item's text
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemgetItemToolTip(itemId)
return current item's tooltip
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemgetItemToolTipTemplate(itemId)
returns a current tooltip template of a slider
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slidergetListOptionImage(parentId, optionId)
returns an image of a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiongetListOptionPosition(parentId, optionId)
returns a position of a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiongetListOptionSelected(parentId)
returns selected listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttongetListOptionText(parentId, optionId)
returns a text of a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiongetListOptionToolTip(parentId, optionId)
returns a tooltip of a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiongetMaxValue(itemId)
returns current maximal value and label of a slider
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slidergetMinValue(itemId)
return current minimal value and label of a slider
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slidergetPosition(itemId)
returns a current position of an item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemgetType(itemId)
return item type by item id
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemIdgetTypeExt(itemId)
return extended item type by item id (button select node)
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemIdgetValue(itemId)
returns a current value of a slider or an input item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slider or an input itemgetWidth(itemId)
returns a current width of an input item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an input itemhideItem(itemId)
hides a specified item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an item to hidehideListOption(parentId, optionId)
hides a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionisEnabled(itemId)
returns true if a specified item is enabled
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an item to checkisListOptionEnabled(parentId, optionId)
return true if a listed option is enabled
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionisListOptionVisible(parentId, optionId)
return true if a listed option is visible
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionisVisible(itemId)
returns true if a specified item is visible
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an item to checkloadXML(xmlFile, onLoadFunction)
loads data to object from xml file
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
xmlFile - file with dta to loadonLoadFunction - function to call after data will loadedloadXMLString(xmlString, onLoadFunction)
loads data to object from xml string
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
xmlString - xml string with data to loadonLoadFunction - function to call after data will loadedremoveItem(itemId)
completely removes an item for a webbar
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemremoveListOption(parentId, optionId)
completely removes a listed option from a select button
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionsetIconsPath(path)
set path to used images
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
path - path to images on harddisksetItemImage(itemId, url)
sets an image for an item in enabled state
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemurl - url of an imagesetItemImageDis(itemId, url)
sets an image for an item in disabled state
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemurl - url of an imagesetItemState(itemId, state)
sets a pressed/released state for a two-state button
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a two-state itemstate - state, true for pressed, false for releasedsetItemText(itemId, text)
sets new text for an item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemtext - new text for an itemsetItemToolTip(itemId, tip)
sets a tooltip for an item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itemtip - tooltip (empty for clear)setItemToolTipTemplate(itemId, template)
sets a tooltip template for a slider
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slidertemplate - tooltip template (%v will replaced with current value)setListOptionImage(parentId, optionId, img)
sets an image for a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionimg - image for a listed optionsetListOptionPosition(parentId, optionId, pos)
sets a position of a listed option (moves listed option)
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionpos - position of a listed optionsetListOptionSelected(parentId, optionId)
sets listed option selected
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optionsetListOptionText(parentId, optionId, text)
sets a text for a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiontext - text for a listed optionsetListOptionToolTip(parentId, optionId, tip)
sets a tooltip for a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed optiontip - tooltip for a listed optionsetMaxValue(itemId, value, label)
sets maximal value and label for a slider
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slidervalue - value (int)label - label for value (empty for no label)setMinValue(itemId, value, label)
sets minimal value and label for a slider
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slidervalue - value (int)label - label for value (empty for no label)setPosition(itemId, pos)
sets a new position for an item (moves item to desired position)
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an itempos - new positionsetValue(itemId, value, callEvent)
sets a value for a slider or an input item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of a slider or an input itemvalue - value (int for slider, any for input item)setWidth(itemId, width)
sets a width for an text/input/buttonSelect item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an text/input/buttonSelect itemwidth - new width (px)showItem(itemId)
shows a specified item
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
itemId - id of an item to showshowListOption(parentId, optionId)
shows a listed option
Object: dhtmlXToolbarObject
File required:dhtmlxtoolbar.js
parentId - id of a select buttonoptionId - id of a listed option