Class Index | File Index

Classes


Class M.SelectionListItemView


Extends M.View.
M.SelectionListItemView defines the prototype of any selection list item. It can only be used as a child view for a selection list view.
Defined in: selection_list_item.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
This property states whether a selection list item is selected or not.
 
This property can be used to specify a label for a selection list item.
 
The type of this object.
Fields borrowed from class M.View:
childViews, computedValue, contentBinding, contentBindingReverse, cssClass, cssClassOnError, cssClassOnInit, cssStyle, events, hasFocus, html, id, isInline, isView, modelId, parentView, recommendedEvents, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
Methods borrowed from class M.View:
addCssClass, attachToObservable, clearHtml, clearValue, clearValues, computeValue, contentDidChange, delegateValueUpdate, design, getChildViewsAsArray, getIds, getValue, getValues, gotFocus, lostFocus, nl2br, registerEvents, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, setValueFromDOM, style, tab2space, theme, themeChildViews
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.SelectionListItemView()
Field Detail
{Boolean} isSelected
This property states whether a selection list item is selected or not.

{String} label
This property can be used to specify a label for a selection list item. If set, the label will be displayed instead of the value, so you can use the item's value as an internal value. E.g. if you use a selection list to select a color, you could set an item's value to '#FF0000' but its label to 'Red'. If there is no label specified, the value is displayed instead.

{String} type
The type of this object.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 25 2012 20:41:10 GMT+0100 (MEZ)