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/ColorPalette.js

  • Provides:

    • dijit.ColorPalette
  • Requires:

    • dijit._Widget in common
    • dijit._Templated in common
    • dojo.colors in common
    • dojo.i18n in common
    • dojo.string in common
    • dijit._PaletteMixin in common
  • dijit.ColorPalette

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._PaletteMixin.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
      • dijit._PaletteMixin: (call)
    • summary
      A keyboard accessible color-picking widget
    • description
      Grid showing various colors, so the user can pick a certain color.
      Can be used standalone, or as a popup.
    • example
      	<div dojoType="dijit.ColorPalette"></div>
    • example
      	var picker = new dijit.ColorPalette({ },srcNode);
      	picker.startup();
  • dijit.ColorPalette.palette

    • tags: const
    • type
      String
    • summary
      Size of grid, either &quot;7x10&quot; or &quot;3x4&quot;.
  • dijit.ColorPalette._palettes

    • tags:
    • type
      Map
    • summary
      This represents the value of the colors.
      The first level is a hashmap of the different palettes available.
      The next two dimensions represent the columns and rows of colors.
  • dijit.ColorPalette._palettes.7x10

    • type
      Array
  • dijit.ColorPalette._palettes.3x4

    • type
      Array
  • dijit.ColorPalette.templateString

    • type
      String
    • summary
      The template of this widget.
  • dijit.ColorPalette.baseClass

    • type
      String
  • dijit.ColorPalette.buildRendering

    • type
      Function
  • dijit._Color

    • type
      Function
    • chains:
      • dojo.Color: (prototype)
      • dojo.Color: (call)
    • parameters:
      • alias: (typeof String)
      • row: (typeof Number)
      • col: (typeof Number)
    • summary
      Object associated with each cell in a ColorPalette palette.
      Implements dijit.Dye.
  • dijit._Color.template

    • type
      String
  • dijit._Color.hcTemplate

    • type
      String
  • dijit._Color._imagePaths

    • tags:
    • type
      Map
    • summary
      This is stores the path to the palette images used for high-contrast mode display
  • dijit._Color._imagePaths.7x10

    • type
      Object
  • dijit._Color._imagePaths.3x4

    • type
      Object
  • dijit._Color.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • alias: (typeof String)
      • row: (typeof Number)
      • col: (typeof Number)
  • dijit._Color.getValue

    • summary
      Note that although dijit._Color is initialized with a value like &quot;white&quot; getValue() always
      returns a hex value
    • type
      Function
  • dijit._Color.fillCell

    • parameters:
      • cell: (typeof DOMNode)
      • blankGif: (typeof String)
    • type
      Function
  • dijit._Color._alias

  • dijit._Color._row

  • dijit._Color._col

  • dijit

    • type
      Object