﻿/*
 * Ext Scheduler v1.5 beta
 * Copyright(c) 2009-2010 Mats Bryntse Consulting
 * mats@ext-scheduler.com
 * http://www.ext-scheduler.com/license.html
 *
 */

Ext.ns('Sch.ViewBehaviour');

/**
 * @class Sch.ViewBehaviour.MonthView
 * @extends Sch.ViewBehaviour.Base
 * <p>This class encapsulates functionality that is specific to this view type. 
 * </p>
 */

Sch.ViewBehaviour.MonthView = function (grid) {
    Sch.ViewBehaviour.MonthView.superclass.constructor.apply(this, arguments);
};

Ext.extend(Sch.ViewBehaviour.MonthView, Sch.ViewBehaviour.Base, {
    
     /**
     * @cfg {String} cssClass a CSS class added to the body element, which allows you to style tooltips/events/resize-proxies differently in different views. Defaults to 'sch-monthview'
     */
    cssClass : 'sch-monthview',
    
    /**
     * @cfg {String} dateFormat format for how dates should be displayed in this view type
     */
    dateFormat : 'Y-m-d',
    
    /**
     * @cfg {Int} timeResolution The time resolution in minutes for this view type. Times displayed will be rounded to this number.
     */
    timeResolution : 1440
});
