Zapatec.ChildWidget

Overview | File | Class | Tree | Index | Help

Zapatec Utils

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Zapatec.ChildWidget

    Object
       |
       +--Zapatec.EventDriven
             |
             +--Zapatec.Widget
                   |
                   +--Zapatec.ChildWidget

class Zapatec.ChildWidget
extends Zapatec.Widget

Defined in zpwidget-sample.js

Fields inherited from class Zapatec.Widget
`config`

Constructor Summary
`Zapatec.ChildWidget(<object> oArg)` Sample widget class.

Method Summary
`void` | `init(<object> oArg)` Initializes object.
`void` | `loadDataHtml(<object> oSource)` Loads data from the HTML source.
`void` | `reconfigure(<object> oArg)` Reconfigures the widget with new config options after it was initialized.

Methods inherited from class Zapatec.Widget
`getConfiguration, addCircularRef, createProperty, discard, defineConfigOption, addUserEventListeners, addStandardEventListeners, loadTheme, getClassName, formElementId, showContainer, hideContainer, showHideContainer, loadData, loadDataHtmlText, loadDataJson, loadDataXml, receiveData, replyData, replyDataCancel, replyDataReturn, acceptData, getMessage`

Methods inherited from class Zapatec.EventDriven
`addEventListener, unshiftEventListener, removeEventListener, getEventListeners, isEventListener, isEvent, removeEvent, fireEvent`

Constructor Detail

### Zapatec.ChildWidget

    Zapatec.ChildWidget(<object> oArg)

Sample widget class.

Parameters:

`oArg` - User configuration

Method Detail

### init

    void init(<object> oArg)

Initializes object.

Parameters:

`oArg` - User configuration

### loadDataHtml

    void loadDataHtml(<object> oSource)

Loads data from the HTML source. Transforms input data from the HTMLElement object. If needed, loadDataHtmlText, loadDataJson and loadDataXml methods can be implemented as well.

Parameters:

`oSource` - HTMLElement object

### reconfigure

    void reconfigure(<object> oArg)

Reconfigures the widget with new config options after it was initialized. May be used to change look or behavior of the widget after it has loaded the data. In the argument pass only values for changed config options. There is no need to pass config options that were not changed.

Parameters:

`oArg` - Changes to user configuration

Overview | File | Class | Tree | Index | Help

Zapatec Utils

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Aug 16 12:18:39 2007