Package pyjamas :: Package dnd :: Module DragEvent :: Class DragEvent
[hide private]
[frames] | no frames]

Class DragEvent

source code

object --+
         |
        DragEvent

emulates a drag event. http://dev.w3.org/html5/spec/dnd.html#dragevent

Instance Methods [hide private]
 
__init__(self, evt, type, dataTransfer, target=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
setTarget(self, target=None) source code
 
stopPropagation(self) source code
 
screenX(self) source code
 
screenY(self) source code
 
pageX(self) source code
 
pageY(self) source code
 
clientX(self) source code
 
clientY(self) source code
 
altKey(self) source code
 
ctrlKey(self) source code
 
shiftKey(self) source code
 
metaKey(self) source code
 
button(self) source code
 
preventDefault(self)
ie6 sets returnValue to False, so we do, too.
source code
 
initDragEvent(self, type, canBubble, cancelable, dummy, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, dataTransfer)
Just raise NotImplemented.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  relatedTarget = None
hash(x)
  detail = 0
  returnValue = True
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, evt, type, dataTransfer, target=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

screenX(self)

source code 
Decorators:
  • @property

screenY(self)

source code 
Decorators:
  • @property

pageX(self)

source code 
Decorators:
  • @property

pageY(self)

source code 
Decorators:
  • @property

clientX(self)

source code 
Decorators:
  • @property

clientY(self)

source code 
Decorators:
  • @property

altKey(self)

source code 
Decorators:
  • @property

ctrlKey(self)

source code 
Decorators:
  • @property

shiftKey(self)

source code 
Decorators:
  • @property

metaKey(self)

source code 
Decorators:
  • @property

button(self)

source code 
Decorators:
  • @property

initDragEvent(self, type, canBubble, cancelable, dummy, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, dataTransfer)

source code 

Just raise NotImplemented. Provided only for completeness with the Interface.