Class Index | File Index

Classes


Class M.ButtonGroupView


Extends M.View.
A button group is a vertically or horizontally aligned group of buttons.
Defined in: button_group.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
This property determines whether to render the button group horizontally or vertically.
 
The type of this object.
Fields borrowed from class M.View:
childViews, contentBinding, cssClass, cssClassOnError, cssClassOnInit, cssStyle, hasFocus, html, id, isInline, isView, modelId, parentView, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
Method Summary
Method Attributes Method Name and Description
 
This method returns the currently selected button of this button group.
 
This method activates one button within the button group.
Methods borrowed from class M.View:
addCssClass, attachToObservable, clearHtml, computeValue, contentDidChange, delegateValueUpdate, design, gotFocus, lostFocus, nl2br, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, setValueFromDOM, style, theme, themeChildViews
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.ButtonGroupView()
Field Detail
{String} direction
This property determines whether to render the button group horizontally or vertically. Default: horizontal. Possible values are: - M.HORIZONTAL: horizontal - M.VERTICAL: vertical

{String} type
The type of this object.
Method Detail
{M.ButtonView} getActiveButton()
This method returns the currently selected button of this button group. If no button is selected, null is returned.
Returns:
{M.ButtonView} The currently active button of this button group.

setActiveButton(id)
This method activates one button within the button group.
Parameters:
{M.ButtonView|String} id
The button to be set active or its id.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 08 2010 15:07:29 GMT+0100 (MEZ)