Index

Classes

Class

Methods

Class Banana.Controls.Window


Extends Banana.Controls.Panel.

Methods borrowed from class Banana.Controls.Panel:
getTagName
Methods borrowed from class Banana.UiControl:
addCss, addCssClass, getAttribute, getAttributes, getClientId, getCss, getCssClass, getDimensions, getHtml, getHtmlAttributes, getState, getStyle, getStyleProperty, hasCssClass, registerEvents, removeAttribute, removeCssClass, removeState, setAttribute, setClientId, setCss, setEnabled, setState, setStyle, setVisible, switchCssClass, triggerEvent, unregisterEvents
Methods borrowed from class Banana.Control:
applyToChildren, bind, findControl, generateUniqueId, getControls, getDomEventTypes, getFirstUiControl, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setId, setPage, setParent, unbind, unload, updateDisplay

Defined in: Window.js.

Class Detail
Banana.Controls.Window()

Creates a basic window control. A window have a title and can be collapsed.

Method Detail
{this} addControl(normal)

We override this method to make sure added controls are added not in the normal collection But in another specially created control.

Parameters:
{mixed} Banana.Control
or plaintext
{boolean} normal
if we still want to add it to regular collection
Returns:
{this}
{this} clear()

Clears the window from all added controls

Returns:
{this}
{this} close()

Closes the window

Returns:
{this}
createComponents()
{String} getTitle()
Returns:
{String}
{this} open()

Opens the window

Returns:
{this}
setTitle(title)

Sets the title of the window. Displayed on top.

Parameters:
{String} title

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