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

Class DataTransferItem

source code

object --+
         |
        DataTransferItem

this is an in-browser string-kind-only implementation. see: http://http://dev.w3.org/html5/spec/dnd.html#datatransferitem

Instance Methods [hide private]
 
__init__(self, type, data)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getType(self) source code
 
type(self) source code
 
getKind(self) source code
 
kind(self) source code
 
getMode(self) source code
 
setMode(self, mode) source code
 
getAsString(self, callback=None) source code
 
__str__(self)
str(x)
source code

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

Class Variables [hide private]
  mode = property(getMode, setMode)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, type, data)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)