Class Index | File Index

Classes


Class M.DashboardItemView


Extends M.View.
A dashboard itm view contains an icon and a label and can be used as the only kind of childviews for a dashboard view.
Defined in: dashboard_item.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
The path/url to the dashboard item's icon.
 
The label for the dashboard item.
 
This property specifies the recommended events for this type of view.
 
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, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
Method Summary
Method Attributes Method Name and Description
 
This method is responsible for registering events for view elements and its child views.
Methods borrowed from class M.View:
addCssClass, attachToObservable, clearHtml, clearValue, clearValues, computeValue, contentDidChange, delegateValueUpdate, design, getChildViewsAsArray, getIds, getValue, getValues, gotFocus, lostFocus, nl2br, 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.DashboardItemView()
Field Detail
{String} icon
The path/url to the dashboard item's icon.

{String} label
The label for the dashboard item. If no label is specified, the value will be displayed instead.

{Array} recommendedEvents
This property specifies the recommended events for this type of view.

{String} type
The type of this object.
Method Detail
registerEvents()
This method is responsible for registering events for view elements and its child views. It basically passes the view's event-property to M.EventDispatcher to bind the appropriate events. It extend M.View's registerEvents method with some special stuff for list item views and their internal events.

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