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

Class-Description

A class to generate a widget hierarchy from XML

QxBuilder is not thread safe by design - state information is stored at the instance level - only use it from a single thread


Inheritance

Parents: QxBuilder » QxTarget » QxObject » Object

Parameters

NameTypeMandatoryInfo
flagsAllfalse

Type

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

Properties

NameTitle
QxObject
Public
enabled

Functions

NameTitle
QxBuilder
Public
buildparse the children of the xml and appending all widgets to the parent widget
buildFromUrlAsynchronous method - fetches XML data from the URL then delegates to build to process the xml
registerPropertyEditor
Private
_buildEventListener
_buildNodes
_buildWidgetFromNode
_coerce
_extractClassName
_findPropertyEditor
_formatDebugContext
_mapXmlAttribToObject
_newBuildErrorthe debugContext is only correct at build time
_newError
_registerDefaultPropertyEditors
_setProperties
_setProperty
_setWidgetPropertySet a widget's property using a propertyEditor
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.