Zapatec.Utils.Maximizable

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.Utils.Maximizable

    Object
       |
       +--Zapatec.Utils.Maximizable

class Zapatec.Utils.Maximizable

Method Summary
`void` | `configure(config)` Sets the default configuration of the object and inits it with user defined values.
`HTML` | `getContainer()` Returns the container of the maximizable object.
`void` | `init(config)` Inits the object with set of config options.
`void` | `reconfigure(config)` Reconfigures the object with new parameters.
`void` | `setMaximized(isMaximized)` Sets if widget is maximized
`void` | `setSize(<number> width, <number> height)` Sets widget size in pixels

Method Detail

### configure

    void configure(config)

Sets the default configuration of the object and inits it with user defined values.

Parameters:

`config` - {object} configuration parameters.

### getContainer

    HTML getContainer()

Returns the container of the maximizable object.

Returns:

container element.

### init

    void init(config)

Inits the object with set of config options.

Parameters:

`config` - {object} configuration parameters.

### reconfigure

    void reconfigure(config)

Reconfigures the object with new parameters.

Parameters:

`config` - {object} new configuration parameters.

### setMaximized

    void setMaximized(isMaximized)

Sets if widget is maximized

Parameters:

`isMaximized` - {boolean} maximized state

### setSize

    void setSize(<number> width, <number> height)

Sets widget size in pixels

Parameters:

`width` - Editor container width

`height` - Editor container height

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