Index

Classes

Class

Methods

Class Banana.Controls.RadioButtonList


Extends Banana.Controls.CustomListControl.

Methods borrowed from class Banana.Controls.CustomListControl:
createControls, setData, setDataSource, setDomData
Methods borrowed from class Banana.Controls.ListControl:
dataSetSourceBind, getDataSource, setDataKeyField, setDataValueField
Methods borrowed from class Banana.Controls.DataControl:
dataSetBind, getData, unDataSetBind, updateDisplay
Methods borrowed from class Banana.Controls.Panel:
getTagName
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: RadioButtonList.js.

Class Detail
Banana.Controls.RadioButtonList()

Creates a Radiobutton list.

use setDataSource() to create a group of radiobuttons use setData() to select radiobuttons use SetGroupName() to make a group of radiobuttons (only 1 of a group can be selected)

Example:

 var rbl = new Banana.Controls.RadioButtonList();

 this.addControl(rbl);

 rbl.setDataSource([1,2,3,4,5,6,7,8,9]);
 rbl.setData([5,6,2]);
Method Detail
{String} getGroupName()
Returns:
{String}
{this} setGroupName(name)

A groupname ensures that only 1 radio button can be selected from a list of radio's

Parameters:
{String} name
of the group, must be unique
Returns:
{this}

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