﻿/*
 * 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.WeekView
 * @extends Sch.ViewBehaviour.Base
 * <p>This class encapsulates functionality that is specific to this view type. 
 * </p>
 */
Sch.ViewBehaviour.WeekView = function (grid) {
    Sch.ViewBehaviour.WeekView.superclass.constructor.apply(this, arguments);
};

Ext.extend(Sch.ViewBehaviour.WeekView, 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-weekview'
     */
    cssClass : 'sch-weekview',
    
    /**
     * @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
});
