Package muntjac :: Package event :: Package dd :: Module target_details :: Class ITargetDetails
[hide private]
[frames] | no frames]

Class ITargetDetails

source code

object --+
         |
        ITargetDetails
Known Subclasses:

ITargetDetails wraps drop target related information about DragAndDropEvent.

When a ITargetDetails object is used in DropHandler it is often preferable to cast the ITargetDetails to an implementation provided by DropTarget like TreeTargetDetails. They often provide a better typed, drop target specific API.

Instance Methods [hide private]
 
getData(self, key)
Gets target data associated with the given string key
source code
 
getTarget(self)
Returns: the drop target on which the DragAndDropEvent happened.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getData(self, key)

source code 

Gets target data associated with the given string key

Returns:
The data associated with the key

getTarget(self)

source code 
Returns:
the drop target on which the DragAndDropEvent happened.