dojox/drawing/manager/StencilUI (version 1.10)

Summary

Used for handling Stencils as UI components.

Replaces manager.Stencil. Handles basic UI mouse events like onmouseover. Does not handle selections or support delete, etc.

Usage

var foo = new StencilUI(options);
dojox/drawing/manager/StencilUI
Parameter Type Description
options undefined

Method Summary

Event Summary

  • onOut(obj) Event fired on mousedown on a stencil
  • onOver(obj) Event fired on mousedown on a stencil
  • onUiDown(obj) Event fired on mousedown on a stencil
  • onUiUp(obj) Event fired on mousedown on a stencil

Methods

_isStencil(obj)
Parameter Type Description
obj EventObject
Returns:boolean
register(stencil)
Parameter Type Description
stencil Object
Returns:Object

Events

onOut(obj)

Event fired on mousedown on a stencil

Parameter Type Description
obj EventObject
onOver(obj)

Event fired on mousedown on a stencil

Parameter Type Description
obj EventObject
onUiDown(obj)

Event fired on mousedown on a stencil

Parameter Type Description
obj EventObject
onUiUp(obj)

Event fired on mousedown on a stencil

Parameter Type Description
obj EventObject
Error in the documentation? Can’t find what you are looking for? Let us know!