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

Class-Description

This is the main constructor for all objects that need to be connected to QxEvent objects.

In objects created with this constructor, you find functions to addEventListener or removeEventListener to or from the created object. Each event to connect to has a type in form of an identification string. This type could be the name of a regular dom event like QxConst.EVENT_TYPE_CLICK or something self-defined like "ready".


Inheritance

Parents: QxTarget » QxObject » Object
Direct Childs: QxApplication, QxBuilder, QxClientWindow, QxCommand, QxCommonTransport, QxImagePreloader, QxImagePreloaderSystem, QxManager, QxNativeWindow, QxRequest, QxRequestQueue, QxResponse, QxTimer, QxTransport, QxWidget

Parameters

NameTypeMandatoryInfo
vAutoDisposeAllfalse

Type

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

Properties

NameTitle
QxObject
Public
enabled

Functions

NameTitle
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.