Class DwtDraggable

Object
   |
   +--DwtDraggable

class DwtDraggable


This static class enables entities (e.g. DwtDialogs) to be dragged around within an app window. The code is basically the same as in dom-drag.js from www.youngpup.net
Defined in DwtDraggable.js

Author: Ross Dargahi


Field Summary
<static>  Object _dragEl
          
 
Constructor Summary
DwtDraggable ()
           
 
Method Summary
<static> Object _drag(e)
          
<static> void _end()
          
<static> Object _fixE(e)
          
<static> Object _start(e)
          
<static> void init(dragEl, rootEl, minX, maxX, minY, maxY, dragStartCB, dragCB, dragEndCB, swapHorizRef, swapVertRef, fXMapper, fYMapper)
          
<static> void setDragBoundaries(dragEl ,minX, maxX, minY, maxY)
          

Field Detail

_dragEl

<static> Object _dragEl

Constructor Detail

DwtDraggable

DwtDraggable()

Method Detail

_drag

<static> Object _drag(e)

_end

<static> void _end()

_fixE

<static> Object _fixE(e)

_start

<static> Object _start(e)

init

<static> void init(dragEl, rootEl, minX, maxX, minY, maxY, dragStartCB, dragCB, dragEndCB, swapHorizRef, swapVertRef, fXMapper, fYMapper)

setDragBoundaries

<static> void setDragBoundaries(dragEl ,minX, maxX, minY, maxY)


Documentation generated by JSDoc on Thu Apr 27 13:54:33 2006