Overview | System-Objects | Class-Tree | Class-List | Global Functions | Files |

Class-Description

This manager (singleton) manage all drag and drop handling of a QxApplication instance.

Inheritance

Parents: QxDragAndDropManager » QxManager » QxTarget » QxObject » Object

Parameters

No Parameters defined.

Type

This class is public.
It can be used by both user and programmer.

Properties

NameTitle
QxDragAndDropManager
Public
currentAction
cursor
destinationWidget
sourceWidget
QxObject
Public
enabled

Functions

NameTitle
QxDragAndDropManager
Public
addAction
addDataAdd data of mimetype.
cancelDragCancel current drag and drop session
clearActions
clearData
dispose
getData
getDropDataTypes
getDropTarget
globalCancelDrag
handleKeyEventThis wraps the key events to custom handlers.
handleMouseEventThis wraps the mouse events to custom handlers.
initCursors
removeAction
setAction
startDragThis needed be called from any QxConst.EVENT_TYPE_DRAGSTART event to really start drag session.
supportsDrop
Private
_endDragThis will be called to the end of each drag and drop session
_endDragCore
_evalNewAction
_fireUserEvents
_getClientDocument
_handleKeyDown
_handleKeyUp
_handleMouseDownThis starts the core drag and drop session.
_handleMouseMoveHandler for mouse move events
_handleMouseUpHandle mouse up event. Normally this finalize the drag and drop event.
_modifyDestinationWidget
_renderCursorSelect and setup the current used cursor
QxManager
Public
add
dispose
get
getAll
has
remove
QxTarget
Public
addEventListenerAdd event listener to object
createDispatchDataEventChecks if the event is registered. If so it creates a data event object and dispatch it.
createDispatchEventChecks if the event is registered. If so it creates a event object and dispatch it.
dispatchEventPublic dispatch implementation
dispose
getParentInternal placeholder for bubbling phase of an event.
hasEventListenersCheck if there are one or more listeners for an event type
removeEventListenerRemove event listener from object
Private
_dispatchEventInternal dispatch implementation
QxObject
Public
debugPrint out a debug message to the qooxdoo debug console.
disposeDispose this object
errorPrint out an error to the qooxdoo debug console.
get
getDisposedReturns true if the object is disposed.
getUserData
infoPrint out an info message info to the qooxdoo debug console.
isDisposedReturns true if the object is disposed.
setSets multiple properties at once by using a property list
setUserData
toHashCodeReturn unique hash code of object
toStringReturns a string represantation of the qooxdoo object.
warnPrint out an warning to the qooxdoo debug console.