Index

Classes

Class

Methods

Class Banana.Controls.InputControl


Extends Banana.Controls.DataControl.

Methods borrowed from class Banana.Controls.DataControl:
dataSetBind, getData, setData, unDataSetBind, updateDisplay
Methods borrowed from class Banana.UiControl:
addControl, 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, clear, createComponents, findControl, generateUniqueId, getControls, getDomEventTypes, getFirstUiControl, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setId, setPage, setParent, unbind, unload

Defined in: InputControl.js.

Class Detail
Banana.Controls.InputControl()

Abstract basic input control. will be rendered as Checkbox/radiobutton/text etc extends from this control

Method Detail
{this} focus()

focus the input control

Returns:
{this}
{String} getName()

gets name of the input control

Returns:
{String}
{String} getTagName()
Returns:
{String}
{String} getValue()
Returns:
{String} value of the control
onChange()

this function is called after user changes something in the dom

{this} setName(n)

sets name of the input control. Not required!

Parameters:
{String} n
Returns:
{this}
{this} setValue(v)
Parameters:
{String} v
value of the control
Returns:
{this}

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