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

dojox/drawing/plugins/drawing/GreekPalette.js

  • Provides:

    • dojox.drawing.plugins.drawing.GreekPalette
  • Requires:

    • dojox.drawing.library.greek in common
    • dijit._Widget in common
    • dijit._Templated in common
    • dijit._PaletteMixin in common
    • dojo.i18n in common
  • dojox.drawing.plugins.drawing.GreekPalette

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._PaletteMixin.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
      • dijit._PaletteMixin: (call)
    • summary
      This plugin uses the palette dijit in order to give
      tips for non-english (mostly greek for now) letters.
    • description
      Grid showing all available entity options which the
      user can pick from.  The library loaded for use by the picker
      is found in dojox.drawing.library.greek.  Adding characters
      there will automatically add them to the palette.
      
      This works as a popup and as such its onChange and onCancel
      close it.  TextBlock manages it, since it's what uses the assist
      so opening it happens there.  In order to activate the plugin
      add it to the dojox.drawing.Drawing node as shown below:
    • example
      	<div dojoType="dojox.drawing.Drawing" id="drawing" jsId="myDrawing" class="drawing"
      plugins="[{'name':'dojox.drawing.plugins.drawing.GreekPalette'}]" >
  • dojox.drawing.plugins.drawing.GreekPalette.postMixInProperties

    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._palette

  • dojox.drawing.plugins.drawing.GreekPalette.onChange

    • parameters:
      • val
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._textBlock

  • dojox.drawing.plugins.drawing.GreekPalette._textBlock._dropMode

    • type
      bool
  • dojox.drawing.plugins.drawing.GreekPalette.onCancel

    • parameters:
      • closeAll: (typeof Boolean)
    • summary
      attach point for notification about when the user cancels the current menu
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette.id

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette.templateString

    • type
      String
    • summary
      The template of this widget.  Using dojoxEntityPalette classes
      in order to allow easy transfer of css
  • dojox.drawing.plugins.drawing.GreekPalette.baseClass

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette.showPreview

    • tags: public
    • type
      Boolean
    • summary
      Whether the preview pane will be displayed, to show details about the selected entity.
  • dojox.drawing.plugins.drawing.GreekPalette.dyeClass

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette.paletteClass

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette.cellClass

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette.buildRendering

    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._onCellMouseEnter

    • parameters:
      • e: (typeof The)
        event.
    • summary
      Simple function to handle updating the display at the bottom of
      the palette.
    • tags:
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._onCellClick

    • parameters:
      • evt: (typeof Event)
        The event.
    • summary
      Handler for click, enter key &amp; space key. Selects the cell.
    • tags:
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette.postCreate

    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._setCurrent

    • parameters:
      • node: (typeof DOMNode)
    • summary
      Sets which node is the focused cell.
    • description
      At any point in time there's exactly one
      cell with tabIndex != -1.   If focus is inside the palette then
      focus is on that cell.
      
      After calling this method, arrow key handlers and mouse click handlers
      should focus the cell in a setTimeout().
    • tags:
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._currentFocus

  • dojox.drawing.plugins.drawing.GreekPalette._displayDetails

    • parameters:
      • cell: (typeof DOMNode)
    • summary
      Display the details of the currently focused entity in the preview pane
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette.previewNode.innerHTML

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette.descNode.innerHTML

    • type
      String
  • dojox.drawing.plugins.drawing.GreekPalette._preparePalette

    • parameters:
      • choices: (typeof String[][])
        id's for each cell of the palette, used to create Dye JS object for each cell
      • titles: (typeof String[])
        Localized tooltip for each cell
    • summary
      Subclass must call _preparePalette() from postCreate(), passing in the tooltip
      for each cell
    • type
      Function
  • dojox.drawing.plugins.drawing.GreekPalette._cells

    • type
      Array
  • dojox.drawing.plugins.drawing.GreekPalette._blankGif

  • dojox.drawing.plugins.drawing.GreekPalette._xDim

  • dojox.drawing.plugins.drawing.GreekPalette._yDim

  • dojox.drawing.plugins.drawing.GreekPalette._navigateByArrow

    • parameters:
      • evt
    • summary
      This is a departure from the dijit, the textBlock needs
      navigation without losing focus, this allows that
      increment:
      How much the key is navigated.
    • tags:
    • type
      Function
  • dojox.drawing.plugins.Greeks

    • type
      Function
    • parameters:
      • alias: (typeof String)
    • summary
      Represents a character.
      Initialized using an alias for the character (like cent) rather
      than with the character itself.
  • dojox.drawing.plugins.Greeks.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • alias: (typeof String)
    • summary
      Construct JS object representing an entity (associated w/a cell
      in the palette)
      value: String
      alias name: 'cent', 'pound' ..
  • dojox.drawing.plugins.Greeks.getValue

    • summary
      Returns HTML representing the character, like &amp;amp;
    • type
      Function
  • dojox.drawing.plugins.Greeks.fillCell

    • parameters:
      • cell: (typeof DOMNode)
    • type
      Function
  • dojox.drawing.plugins.Greeks._alias

  • dojox.drawing.library.greek

    • alias - dojox.drawing.library.greek
  • dojox.drawing.plugins.drawing

    • type
      Object
  • dojox.drawing.plugins

    • type
      Object
  • dojox.drawing

    • type
      Object
  • dojox

    • type
      Object