Class Index | File Index

Classes


Class M.ListItemView


Extends M.View.
This is the prototype for any list item view. It can only be used as child view of a list view (M.ListView).
Defined in: list_item.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
This property contains the list item's delete button that is automatically shown if the list view's built-in toggleRemove() functionality is used.
 
This property determines whether a list item has one single action that is triggered once there is a click anywhere inside the list item or if there are specific actions defined for single ui elements within one list item.
 
States whether the list view item is currently in edit mode or not.
 
This property is used to specify an internal action for an automatically called action, e.g.
 
This property is used to specify an internal target for an automatically called action, e.g.
 
This property determines whether the list item is a divider or not.
 
This property reffers to the list item's parent list view.
 
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
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.ListItemView()
Field Detail
{M.ButtonView} deleteButton
This property contains the list item's delete button that is automatically shown if the list view's built-in toggleRemove() functionality is used.

{Boolean} hasSingleAction
This property determines whether a list item has one single action that is triggered once there is a click anywhere inside the list item or if there are specific actions defined for single ui elements within one list item.

{Boolean} inEditMode
States whether the list view item is currently in edit mode or not. This is mainly used by the built-in toggleRemove() functionality of list views.

{Object} internalAction
This property is used to specify an internal action for an automatically called action, e.g. this is used by the built-in toggleRemove() functionality.

{Object} internalTarget
This property is used to specify an internal target for an automatically called action, e.g. this is used by the built-in toggleRemove() functionality.

{Boolean} isDivider
This property determines whether the list item is a divider or not.

{M.ListView} listView
This property reffers to the list item's parent list view..

{String} type
The type of this object.

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