dojox.calendar
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

dojox.calendar.StoreMixin

Object » dojo.Stateful » dojox.calendar.StoreMixin

Method Summary

  • _computeVisibleItems(renderData) Computes the data items that are in the displayed interval.
  • _initItems(items)
  • _refreshItemsRendering(renderData)
  • _setStoreAttr(value)
  • _updateItems(object, previousIndex, newIndex)
  • cssClassFunc() Optional function that returns a css class name to apply to item renderers that are displaying the specified item in parameter.
  • decodeDate() An optional function to transform store date into Date objects. Default is null.
  • encodeDate() An optional function to transform Date objects into store date. Default is null.
  • itemToRenderItem(item, store) Creates the render item based on the dojo.store item. It must be of the form: { id: Object, startTime: Date, endTime: Date, summary: String } By default it is building an object using the store id, the summaryAttr, startTimeAttr and endTimeAttr properties as well as decodeDate property if not null. Other fields or way to query fields can be used if needed.
  • renderItemToItem(renderItem, store) Create a store item based on the render item. It must be of the form: { id: Object startTime: Date, endTime: Date, summary: String } By default it is building an object using the summaryAttr, startTimeAttr and endTimeAttr properties and decodeDate property if not null.

Methods

_computeVisibleItems
Overrides dojo.Stateful
Computes the data items that are in the displayed interval.
ParameterTypeDescription
renderDataObjectThe renderData that contains the start and end time of the displayed interval.
_initItems
Overrides dojo.Stateful
ParameterTypeDescription
items
_refreshItemsRendering
Overrides dojo.Stateful
ParameterTypeDescription
renderData
_setStoreAttr
Overrides dojo.Stateful
ParameterTypeDescription
value
_updateItems
Overrides dojo.Stateful
ParameterTypeDescription
object
previousIndex
newIndex
cssClassFunc
Overrides dojo.Stateful
Optional function that returns a css class name to apply to item renderers that are displaying the specified item in parameter.
decodeDate
Overrides dojo.Stateful
An optional function to transform store date into Date objects. Default is null.
encodeDate
Overrides dojo.Stateful
An optional function to transform Date objects into store date. Default is null.
itemToRenderItem
Overrides dojo.Stateful
Object
Creates the render item based on the dojo.store item. It must be of the form: { id: Object, startTime: Date, endTime: Date, summary: String } By default it is building an object using the store id, the summaryAttr, startTimeAttr and endTimeAttr properties as well as decodeDate property if not null. Other fields or way to query fields can be used if needed.
ParameterTypeDescription
itemObjectThe store item.
storedojo.store.api.StoreThe store.
renderItemToItem
Overrides dojo.Stateful
Object
Create a store item based on the render item. It must be of the form: { id: Object startTime: Date, endTime: Date, summary: String } By default it is building an object using the summaryAttr, startTimeAttr and endTimeAttr properties and decodeDate property if not null.
ParameterTypeDescription
renderItemObjectThe render item.
storedojo.store.api.StoreThe store.