dojox/drawing/ui/dom/Pan (version 1.10)

dojox/drawing/plugins/_Plugin

Usage

var foo = new Pan(options);
dojox/drawing/ui/dom/Pan
Parameter Type Description
options undefined

Property Summary

Method Summary

  • checkBounds() Scans all items on the canvas and checks if they are out of bounds.
  • connect()
  • disconnect(handles) Removes connections based on passed handles arguments

Event Summary

Properties

anchors
button
canvas
drawing
keys
mouse
node
selected
setup
stencils
type
util

Methods

checkBounds()

Scans all items on the canvas and checks if they are out of bounds. If so, a scroll bar (in Canvas) is shown. If the position is left or top, the canvas is scrolled all items are relocated the distance of the scroll. Ideally, it should look as if the items do not move.

connect()
disconnect(handles)

Removes connections based on passed handles arguments

Parameter Type Description
handles Handle | Array

Events

onKeyDown(evt)
Parameter Type Description
evt undefined
onKeyUp(evt)
Parameter Type Description
evt undefined
onPanDrag(obj)
Parameter Type Description
obj undefined
onSetPan(bool)
Parameter Type Description
bool Boolean | Event
onStencilDrag(obj)
Parameter Type Description
obj undefined
onStencilUp(obj)
Parameter Type Description
obj undefined
Error in the documentation? Can’t find what you are looking for? Let us know!