Packagecom.flexcalendar.components.calendar.utils.context
Interfacepublic interface ICalendarContext extends flash.events.IEventDispatcher
Implementors CalendarContext

Interface describing caneldar context - holding calendar configuration parameters, services etc.



Public Properties
 PropertyDefined By
  acceptItemsInLimitedEditModeAlwaysButInUnavailableSpace : Boolean
When this flag is enabled it's not required to create available spaces in limited edit mode.
ICalendarContext
  availableSpaceIsMoreImportantThanUnavailableSpace : Boolean
Flag that indicates whether available space is more important than unavailable space.
ICalendarContext
  cacheTimeToLive : Number
Time to live in milliseconds for cached items.
ICalendarContext
  calendarMode : int
Calendar mode defines rules of calendar items' editing.
ICalendarContext
  columnModeEnabled : Boolean
FLag that indicates whether column mode is enabled.
ICalendarContext
  dataProvider : ICalendarDataProvider
Get calendar data provider from the context.
ICalendarContext
  dateOptions : DateOptions
Access DateOptions with date handling configuration
ICalendarContext
  dragBetweenColumnsEnabled : Boolean
FLag that indicates whether dragging between columns/calendars is enabled in column mode.
ICalendarContext
  dropUiComponentsEnabled : Boolean
FLag that indicates whether dropped UIComponents can create calendar item.
ICalendarContext
  granularityMinutes : Number
Set granularity of displayed minutes
ICalendarContext
  readOnly : Boolean
[read-only] Indicates whether entire component is readonly.
ICalendarContext
  snapToGridThreshold : int
Set current snap to grid threshold, in milliseconds.
ICalendarContext
  visibleHoursEnd : Number
Set visible hours end hour It's applied only when visibleHoursLimited is set
ICalendarContext
  visibleHoursLimited : Boolean
When it'is set calendar displays only hours range specified by visibleHoursEnd and visibleHoursStart
ICalendarContext
  visibleHoursStart : Number
Set visible hours start hour It's applied only when visibleHoursLimited is set
ICalendarContext
Property Detail
acceptItemsInLimitedEditModeAlwaysButInUnavailableSpaceproperty
acceptItemsInLimitedEditModeAlwaysButInUnavailableSpace:Boolean

When this flag is enabled it's not required to create available spaces in limited edit mode. Items might be placed everywhere - the only forbidden place is UnavailableSpace. Default is true;


Implementation
    public function get acceptItemsInLimitedEditModeAlwaysButInUnavailableSpace():Boolean
    public function set acceptItemsInLimitedEditModeAlwaysButInUnavailableSpace(value:Boolean):void
availableSpaceIsMoreImportantThanUnavailableSpaceproperty 
availableSpaceIsMoreImportantThanUnavailableSpace:Boolean

Flag that indicates whether available space is more important than unavailable space. If set to true, available space is always drawn above unavailable space. Default is true.


Implementation
    public function get availableSpaceIsMoreImportantThanUnavailableSpace():Boolean
    public function set availableSpaceIsMoreImportantThanUnavailableSpace(value:Boolean):void
cacheTimeToLiveproperty 
cacheTimeToLive:Number

Time to live in milliseconds for cached items. It is possible to force invalidate cache for entire FlexCalendar or for any of CalendarItemSet individually.


Implementation
    public function get cacheTimeToLive():Number
    public function set cacheTimeToLive(value:Number):void
calendarModeproperty 
calendarMode:int

Calendar mode defines rules of calendar items' editing.


Implementation
    public function get calendarMode():int
    public function set calendarMode(value:int):void

See also

columnModeEnabledproperty 
columnModeEnabled:Boolean

FLag that indicates whether column mode is enabled.


Implementation
    public function get columnModeEnabled():Boolean
    public function set columnModeEnabled(value:Boolean):void
dataProviderproperty 
dataProvider:ICalendarDataProvider

Get calendar data provider from the context.


Implementation
    public function get dataProvider():ICalendarDataProvider
    public function set dataProvider(value:ICalendarDataProvider):void
dateOptionsproperty 
dateOptions:DateOptions

Access DateOptions with date handling configuration


Implementation
    public function get dateOptions():DateOptions
    public function set dateOptions(value:DateOptions):void
dragBetweenColumnsEnabledproperty 
dragBetweenColumnsEnabled:Boolean

FLag that indicates whether dragging between columns/calendars is enabled in column mode.


Implementation
    public function get dragBetweenColumnsEnabled():Boolean
    public function set dragBetweenColumnsEnabled(value:Boolean):void
dropUiComponentsEnabledproperty 
dropUiComponentsEnabled:Boolean

FLag that indicates whether dropped UIComponents can create calendar item.


Implementation
    public function get dropUiComponentsEnabled():Boolean
    public function set dropUiComponentsEnabled(value:Boolean):void
granularityMinutesproperty 
granularityMinutes:Number

Set granularity of displayed minutes


Implementation
    public function get granularityMinutes():Number
    public function set granularityMinutes(value:Number):void
readOnlyproperty 
readOnly:Boolean  [read-only]

Indicates whether entire component is readonly. If it's readonly user can not modify it.


Implementation
    public function get readOnly():Boolean
snapToGridThresholdproperty 
snapToGridThreshold:int

Set current snap to grid threshold, in milliseconds. Valid values are full minutes. Default: DateUtils.MILLI_IN_MINUTE 30 (30 minutes)


Implementation
    public function get snapToGridThreshold():int
    public function set snapToGridThreshold(value:int):void
visibleHoursEndproperty 
visibleHoursEnd:Number

Set visible hours end hour It's applied only when visibleHoursLimited is set


Implementation
    public function get visibleHoursEnd():Number
    public function set visibleHoursEnd(value:Number):void
visibleHoursLimitedproperty 
visibleHoursLimited:Boolean

When it'is set calendar displays only hours range specified by visibleHoursEnd and visibleHoursStart


Implementation
    public function get visibleHoursLimited():Boolean
    public function set visibleHoursLimited(value:Boolean):void
visibleHoursStartproperty 
visibleHoursStart:Number

Set visible hours start hour It's applied only when visibleHoursLimited is set


Implementation
    public function get visibleHoursStart():Number
    public function set visibleHoursStart(value:Number):void