Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dijit/form/Select.js

  • Provides:

    • dijit.form.Select
  • Requires:

    • dijit.form._FormSelectWidget in common
    • dijit._HasDropDown in common
    • dijit.Menu in common
    • dijit.Tooltip in common
  • dijit.form._SelectMenu

    • type
      Function
    • chains:
      • dijit.Menu: (prototype)
      • dijit.Menu: (call)
    • summary
      An internally-used menu for dropdown that allows us a vertical scrollbar
  • dijit.form._SelectMenu.buildRendering

    • summary
      Stub in our own changes, so that our domNode is not a table
      otherwise, we won't respond correctly to heights/overflows
    • type
      Function
  • dijit.form._SelectMenu.menuTableNode

  • dijit.form._SelectMenu.domNode

    • type
      Object
  • dijit.form._SelectMenu.postCreate

    • summary
      stop mousemove from selecting text on IE to be consistent with other browsers
    • type
      Function
  • dijit.form._SelectMenu.resize

    • parameters:
      • mb: (typeof Object)
        The margin box to set this dropdown to.
    • summary
      Overridden so that we are able to handle resizing our
      internal widget.  Note that this is not a "full" resize
      implementation - it only works correctly if you pass it a
      marginBox.
    • type
      Function
  • dijit.form._SelectMenu.menuTableNode.style.width

    • type
      String
  • dijit.form.Select

    • type
      Function
    • chains:
      • dijit.form._FormSelectWidget: (prototype)
      • dijit._HasDropDown.prototype: (prototype)
      • dijit.form._FormSelectWidget: (call)
      • dijit._HasDropDown: (call)
    • summary
      This is a "styleable" select box - it is basically a DropDownButton which
      can take a <select> as its input.
  • dijit.form.Select.baseClass

    • type
      String
  • dijit.form.Select.templateString

    • type
      Object
  • dijit.form.Select.attributeMap

    • type
      Object
    • summary
      Add in our style to be applied to the focus node
  • dijit.form.Select.required

    • type
      Boolean
    • summary
      Can be true or false, default is false.
  • dijit.form.Select.state

    • type
      String
    • summary
      Shows current state (ie, validation result) of input (Normal, Warning, or Error)
  • dijit.form.Select.message

    • type
      String
    • summary
      Currently displayed error/prompt message
  • dijit.form.Select.tooltipPosition

    • type
      String[]
    • summary
      See description of dijit.Tooltip.defaultPosition for details on this parameter.
  • dijit.form.Select.emptyLabel

    • type
      string
    • summary
      What to display in an "empty" dropdown
  • dijit.form.Select._isLoaded

    • type
      Boolean
    • summary
      Whether or not we have been loaded
  • dijit.form.Select._childrenLoaded

    • type
      Boolean
    • summary
      Whether or not our children have been loaded
  • dijit.form.Select._fillContent

    • summary
      Set the value to be the first, or the selected index
    • type
      Function
  • dijit.form.Select.srcNodeRef.selectedIndex

    • type
      Number
  • dijit.form.Select.value

  • dijit.form.Select.dropDown

    • type
      Object
  • dijit.form.Select._getMenuItemForOption

    • parameters:
      • option: (typeof dijit.form.__SelectOption)
    • summary
      For the given option, return the menu item that should be
      used to display it.  This can be overridden as needed
    • type
      Function
  • dijit.form.Select._addOptionItem

    • parameters:
      • option: (typeof dijit.form.__SelectOption)
    • summary
      For the given option, add an option to our dropdown.
      If the option doesn't have a value, then a separator is added
      in that place.
    • type
      Function
  • dijit.form.Select._getChildren

    • type
      Function
  • dijit.form.Select._loadChildren

    • parameters:
      • loadMenuItems: (typeof Boolean)
        actually loads the child menu items - we only do this when we are
        populating for showing the dropdown.
    • summary
      Resets the menu and the length attribute of the button - and
      ensures that the label is appropriately set.
    • type
      Function
  • dijit.form.Select._setValueAttr

    • parameters:
      • value
    • type
      Function
  • dijit.form.Select._setDisplay

    • parameters:
      • newDisplay: (typeof String)
    • summary
      sets the display for the given value (or values)
    • type
      Function
  • dijit.form.Select.containerNode.innerHTML

    • type
      String
  • dijit.form.Select.validate

    • parameters:
      • isFocused: (typeof Boolean)
    • summary
      Called by oninit, onblur, and onkeypress.
    • description
      Show missing or invalid messages if appropriate, and highlight textbox field.
      Used when a select is initially set to no value and the user is required to
      set the value.
    • type
      Function
  • dijit.form.Select.isValid

    • parameters:
      • isFocused: (typeof Boolean)
    • returns
      handle value is null or undefined
    • summary
      Whether or not this is a valid value.  The only way a Select
      can be invalid is when it's required but nothing is selected.
    • type
      Function
  • dijit.form.Select.reset

    • summary
      Overridden so that the state will be cleared.
    • type
      Function
  • dijit.form.Select.postMixInProperties

    • summary
      set the missing message
    • type
      Function
  • dijit.form.Select._missingMsg

  • dijit.form.Select.postCreate

    • summary
      stop mousemove from selecting text on IE to be consistent with other browsers
    • type
      Function
  • dijit.form.Select._setStyleAttr

    • parameters:
      • value: (typeof String||Object)
    • type
      Function
  • dijit.form.Select.isLoaded

    • type
      Function
  • dijit.form.Select.loadDropDown

    • parameters:
      • loadCallback: (typeof Function)
    • summary
      populates the menu
    • type
      Function
  • dijit.form.Select.closeDropDown

    • type
      Function
  • dijit.form.Select.dropDown.menuTableNode.style.width

    • type
      String
  • dijit.form.Select.uninitialize

    • parameters:
      • preserveDom
    • type
      Function
  • dijit.form

    • type
      Object
  • dijit

    • type
      Object