Class Index | File Index

Classes


Class dijit.form.ComboButton


Extends dijit.form.DropDownButton.

Defined in: Button.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A combination button and drop-down button.
Field Summary
Field Attributes Field Name and Description
 
Text that describes the options menu (accessibility)
Fields borrowed from class dijit.form.FormWidget:
_onChangeActive, alt, disabled, intermediateChanges, name, scrollOnFocus, tabIndex, type, value
Fields borrowed from class dijit.Widget:
_blankGif, _deferredConnects, _started, attributeMap, baseClass, containerNode, dir, domNode, id, lang, nodesWithKeyClick, srcNodeRef, style, title, tooltip
Fields borrowed from class dijit.Templated:
_attachPoints, _earlyTemplatedStartup, _skipNodeCache, templatePath, templateString, widgetsInTemplate
Fields borrowed from class dijit.CssStateMixin:
cssStateNodes
Fields borrowed from class dijit.HasDropDown:
_aroundNode, _arrowWrapperNode, _buttonNode, _popupStateNode, _stopClickEvents, autoWidth, dropDown, dropDownPosition, forceWidth, maxHeight
Method Summary
Method Attributes Method Name and Description
<private>  
Handler for left arrow key when focus is on right part of button
<private>  
Handler for right arrow key when focus is on left part of button
 
focus(position)
Focuses this widget to according to position, if specified, otherwise on arrow node
Methods borrowed from class dijit.form.FormWidget:
_handleOnChange, compare, getValue, isFocusable, onChange, setDisabled, setValue
Methods borrowed from class dijit.Widget:
_applyAttributes, _attrToDom, _getAttrNames, _onBlur, _onConnect, _onFocus, _onShow, _setClassAttr, _setStyleAttr, attr, buildRendering, connect, create, destroy, destroyDescendants, destroyRecursive, destroyRendering, disconnect, get, getChildren, getDescendants, isLeftToRight, onBlur, onClick, onClose, onDblClick, onFocus, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onShow, placeAt, postCreate, postMixInProperties, postscript, set, setAttribute, startup, subscribe, toString, uninitialize, unsubscribe
Methods borrowed from class dijit.Templated:
_attachTemplateNodes, _fillContent, _stringRepl
Methods borrowed from class dijit.CssStateMixin:
_cssMouseEvent, _setStateClass, _trackMouseState
Methods borrowed from class dijit.HasDropDown:
_onDropDownMouseDown, _onDropDownMouseUp, _onKey, _setupDropdown, closeDropDown, isLoaded, loadDropDown, openDropDown, toggleDropDown
Class Detail
dijit.form.ComboButton()
A combination button and drop-down button. Users can click one side to "press" the button, or click an arrow icon to display the drop down.
new dijit.form.ComboButton({label: "hello world", onClick: foo, dropDown: "myMenu"}).placeAt(dojo.body())
Field Detail
{String} optionsTitle
Text that describes the options menu (accessibility)
Method Detail
<private> _onArrowKeyPress(evt)
Handler for left arrow key when focus is on right part of button
Parameters:
{Event} evt

<private> _onButtonKeyPress(evt)
Handler for right arrow key when focus is on left part of button
Parameters:
{Event} evt

focus(position)
Focuses this widget to according to position, if specified, otherwise on arrow node
Parameters:
{String} position
start or end

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Sep 20 2010 21:52:25 GMT+0900 (JST)