Class Loading2
Object
|
+--WidgetBase
|
+--Loading2
- class
Loading2
- extends WidgetBase
Defined in Loading2.js
Author: Mike Adair
Constructor Summary |
Loading2
(widgetNode, model)
This widget is used to display ModelStatus messages.
|
Method Summary |
void
|
clear(objRef)
Remove the contents of the HTML tag for this widget.
|
void
|
paint(objRef)
Render the widget.
|
void
|
update(objRef, message)
Updates the loading indicator with a new message as a "updateStatus" listener.
|
containerNodeId
Object containerNodeId
htmlTagId
Object htmlTagId
mapContainerNode
Object mapContainerNode
node
Object node
updateMessage
Object updateMessage
Loading2
Loading2(widgetNode, model)
This widget is used to display ModelStatus messages. This widget is used
like any other except that it is clreaed on the loadModel event and painted
on the "newModel" and "modelStatus" events.
Optional config parameters are an image source (usually an animated GIF) in
the imageSource property, an optional static text message to be displayed as
the textMessage property and if the widget is to be displayed over top of a
map you can also specify the mapContainerId property.
Dynamic message can be displayed by listening on the "modelStatus" event which
sends a message as the parameter. Send a null message param to clear the widget.
Parameters:
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
clear
void clear(objRef)
Remove the contents of the HTML tag for this widget.
Parameters:
objRef
- Reference to this object.
paint
void paint(objRef)
Parameters:
objRef
- Pointer to widget object.
update
void update(objRef, message)
Updates the loading indicator with a new message as a "updateStatus" listener.
Send an null message to clear the loading indicator.
Parameters:
objRef
- Reference to this object.
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007