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/ui/Toolbar.js

  • Provides:

    • dojox.drawing.ui.Toolbar
  • Requires:

    • dojox.drawing.library.icons in common
  • dojox.drawing.ui.Toolbar

    • type
      Function
    • parameters:
      • props
      • node
    • summary
      A Toolbar used for holding buttons; typically representing the Stencils
      used for a DojoX Drawing.
    • description
      Creates a GFX-based toobar that holds GFX-based buttons. Can be either created
      within the actual drawing or within a seperate DOM element. When within the
      drawing, the toolbar will cover a portion of the drawing; hence the option.
      
      A Toolbar can be created programmtically or in markup. Currently markup is as
      a separate DOM element and programmtic is within the drawing.
      examples:
      	dojo.connect(myDrawing, "onSurfaceReady", function(){
      		new dojox.drawing.ui.Toolbar({
      			drawing:myDrawing,
      			tools:"all",
      			plugs:"all",
      			selected:"ellipse"
      		});
      	});
      
       <div dojoType="dojox.drawing.ui.Toolbar" id="gfxToolbarNode" drawingId="drawingNode"
      		class="gfxToolbar" tools="all" plugs="all" selected="ellipse" orient="H"></div>
  • dojox.drawing.ui.Toolbar.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • props
      • node
  • dojox.drawing.ui.Toolbar.padding

    • type
      Number
    • summary
      The amount of spce between the top and left of the toolbar and the buttons.
  • dojox.drawing.ui.Toolbar.margin

    • type
      Number
    • summary
      The space between each button.
  • dojox.drawing.ui.Toolbar.size

    • type
      Number
    • summary
      The width and height of the button
  • dojox.drawing.ui.Toolbar.radius

    • type
      Number
    • summary
      The size of the button's rounded corner
  • dojox.drawing.ui.Toolbar.toolPlugGap

    • type
      number
    • summary
      The distnce between the tool buttons and plug buttons
  • dojox.drawing.ui.Toolbar.strSelected

    • type
      Object
  • dojox.drawing.ui.Toolbar.strTools

    • type
      Object
  • dojox.drawing.ui.Toolbar.strPlugs

    • type
      Object
  • dojox.drawing.ui.Toolbar.makeButtons

    • summary
      Internal. create buttons.
    • type
      Function
  • dojox.drawing.ui.Toolbar.buttons

    • type
      Array
  • dojox.drawing.ui.Toolbar.plugins

    • type
      Array
  • dojox.drawing.ui.Toolbar.onRenderStencil

    • parameters:
      • stencil: (typeof Object)
    • summary
      Stencil render event.
    • type
      Function
  • dojox.drawing.ui.Toolbar.selected

    • type
      Object
  • dojox.drawing.ui.Toolbar.addTool

    • type
      Function
  • dojox.drawing.ui.Toolbar.addPlugin

    • type
      Function
  • dojox.drawing.ui.Toolbar.addBack

    • summary
      Internal. Adds the back, behind the toolbar.
    • type
      Function
  • dojox.drawing.ui.Toolbar.onToolClick

    • parameters:
      • button: (typeof Object)
    • summary
      Tool click event. May be connected to.
    • type
      Function
  • dojox.drawing.ui.Toolbar.onPlugClick

    • parameters:
      • button: (typeof Object)
    • summary
      Plugin click event. May be connected to.
    • type
      Function
  • dojox.drawing.ui.Toolbar._mixprops

    • parameters:
      • props: (typeof Array)
      • objNode: (typeof Object)
        | Node
    • summary
      Internally used for mixing in props from an object or
      from a dom node.
    • type
      Function
  • dojox.drawing.ui.Toolbar.util

  • dojox.drawing.ui.Toolbar.toolDrawing

    • type
      Object
  • dojox.drawing.ui.Toolbar.drawing

  • dojox.drawing.ui.Toolbar.width

  • dojox.drawing.ui.Toolbar.height

  • dojox.drawing.ui.Toolbar.orient

    • type
      Object
  • dojox.drawing.ui.Toolbar.horizontal

  • dojox.drawing.ui

    • type
      Object
  • dojox.drawing

    • type
      Object
  • dojox

    • type
      Object