Index

Classes

Class

Methods

Class Banana.Loader


Extends Banana.Control.

Methods borrowed from class Banana.Control:
addControl, applyToChildren, bind, clear, findControl, generateUniqueId, getClientId, getControls, getDomEventTypes, getFirstUiControl, getHtml, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setClientId, setId, setPage, setParent, triggerEvent, unbind, unload

Defined in: Loader.js.

Class Detail
Banana.Loader()

Creates a loader. It displays itself on top of all other visible components with a dark shade underneath it. To use it. Add it to your control and call show(text);

Method Detail
createComponents()
hide()

hides loader

{this} show(text, px)

Makes the loader visible with given text. if we call this method before rendered we only set the data. We want to align the loader exactly in the center of the screen. For this we need to know dimensions. Thats why we set data first and later on apply correct positions.

Parameters:
{String} text
{int} px
of horizontal offset
Returns:
{this}
updateDisplay()

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 05 2012 22:02:03 GMT+0100 (CET)