Packageardisia.scheduling.calendar
Classpublic class Calendar
InheritanceCalendar Inheritance spark.components.supportClasses.SkinnableComponent
Implements mx.managers.IFocusManagerComponent

The Calendar component displays calendar data in one of 3 display modes: "column", "grid", and "columnAndAllDayGrid". "column" displays data in columns, and is the typical week or day calendar presentation. "grid" displays data in a series of rows and columns and is typical of a weeks or month calendar presentation. "columnAndAllDayGrid" is a combination of both column and grid display modes by using a grid view for all-day events and a column view for the non all-day data.

The dataProvider accepts a collection of SchedulingData objects. Each SchedulingData object will be used to define renderers. Due to calendar recurrence (repeating events), a single SchedulingData object may define an infinite number of renderers. This is why the start and end time for data must be passed along with the Scheduling Data because the renderer may not have the same start/end date as its associated SchedulingData object.

View the technical documentation on the Ardisia Labs website for more information.

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  allowMultipleSelection : Boolean = true
True to enable multiple selection.
Calendar
  autoScrollThreshold : Number = 50
Defines the threshold from the boundaries of the viewport in which to trigger automatic scrolling during a dragging operation for column display modes.
Calendar
  columnCount : int
The number of columns to display.
Calendar
  dataProvider : IList
The dataProvider for the chart.
Calendar
  displayMode : String
The current display mode.
Calendar
  dragEnabled : Boolean = true
Enables or disables item renderer dragging.
Calendar
  dragIncrement : Number = 15
The number of minutes that renderers will grow/shrink during drag (resize) operations for the column display modes.
Calendar
  endTime : Number
The number of minutes to end the calendar display in column based display modes.
Calendar
  minMinutesDisplayedInViewport : Number
The minimum number of minutes of a day that are displayed in the viewport for the column based display modes.
Calendar
  primaryTimeIntervalMinutes : Number
The number of minutes for each primary time interval for the column display modes.
Calendar
  resizeThreshold : int = 6
The number of pixels from the edges of the renderer in the column display modes that a resize cursor will be displayed and a resize operation will start on mousedown.
Calendar
  rowCount : int
The number of rows to display.
Calendar
  secondaryTimeIntervalCount : Number
The number of secondary time intervals to draw between primary time intervals for column based display modes.
Calendar
  selectedData : Vector.<SelectedCalendarData>
The selected calendar data.
Calendar
  selectedPeriod : CalendarPeriod
The time period selected via user interaction.
Calendar
  showFriday : Boolean
Display data for friday.
Calendar
  showMonday : Boolean
Display data for monday.
Calendar
  showSaturday : Boolean
Display data for saturday.
Calendar
  showSunday : Boolean
Display data for sunday.
Calendar
  showThursday : Boolean
Display data for thursday.
Calendar
  showTuesday : Boolean
Display data for tuesday.
Calendar
  showWednesday : Boolean
Display data for wednesday.
Calendar
  startDate : Date
The start date to begin display in the calendar.
Calendar
  startTime : Number
The number of minutes to start the calendar display in column based display modes.
Calendar
  subColumnsCalendars : ICollectionView
Supply an ICollectionView of CalendarDefinitionData objects to display each calendar in a sub column within a column for the column modes.
Calendar
Protected Properties
 PropertyDefined By
  familyIndexEnd : Number
Holds the last maximum end position value for a family of overlapped renderers for the column mode.
Calendar
  resizeAxis : Date
For resize dragging, stores the axis (E.G., the start or end depending on the direction of resize) in minutes.
Calendar
  subColumn : int
Hold the contextual sub column.
Calendar
Public Methods
 MethodDefined By
  
getDateMap():Array
Return the protected dateMap array.
Calendar
  
getStoreData(start:Date, end:Date, searchPhrase:String = null):Array
Returns an array of store data based on the input parameters.
Calendar
  
Convenient method to invalidate the display list for the item renderers.
Calendar
  
scrollToTime(minutes:Number):void
Scroll to the passed time for a column based display mode.
Calendar
Protected Methods
 MethodDefined By
  
addToStore(item:SchedulingData, sort:Boolean = true):void
Adds a SchedulingData object to the local store by creating the necessary StoreData objects and adding them to the store at the sorted index.
Calendar
  
canvasHandler(event:Event):void
Handles events on the canvas used for selected time period dragging for all display modes.
Calendar
  
Checks if the mouse is within the autoscroll threshold during drag operations.
Calendar
  
Clears the auto scrolling timer.
Calendar
  
columnRendererHandler(event:Event):void
Handles events on the column renderer skin part.
Calendar
  
dragHandler(event:Event):void
Handles item renderer dragging and resizing.
Calendar
  
eventHandler(event:Event):void
Handles events on the component.
Calendar
  
getColumnStartPositions(rendererIndex:int, dayStore:Vector.<StoreData>):void
Sets the layout positions on the store data for the column renderers.
Calendar
  
getFirstEmptyIndex(arr:Array):int
Returns the first empty index value in the provided array.
Calendar
  
getMousedGridIndex(canvas:SpriteVisualElement):int
Returns the row/column of where the mouse is located.
Calendar
  
gridLabelHandler(event:Event):void
Handles events on the grid label skin part.
Calendar
  
gridOverflowHandler(event:Event):void
Handles events on the grid overflow skin part.
Calendar
  
gridRendererHandler(event:Event):void
Handles events on the grid renderers skin part.
Calendar
  
handleRendererSelection(dtStart:Date, dtEnd:Date, schedulingData:SchedulingData, event:MouseEvent):void
Handles selectedData and handles multiple selection if the shift or control key were held down during selection.
Calendar
  
Initialize the column view containers.
Calendar
  
Initialize the grid view containers.
Calendar
  
refresh():void
Set flag to refresh the item renderers on the next layout pass.
Calendar
  
Removes a SchedulingData object and any associated StoreData objects from the local store.
Calendar
  
Remove the overflowPopup (if exists).
Calendar
  
Returns what index the StoreData object should be inserted into the local store to keep the local store sorted.
Calendar
  
Sorts the local store of StoreData objects.
Calendar
  
Update the canvas for the current display mode.
Calendar
  
Update the columnCanvas vector drawing.
Calendar
  
Update the column labels skin part.
Calendar
  
Update the column renderers skin part.
Calendar
  
Creates an array of the start date(s) for each day displayed.
Calendar
  
Create a store of the data that will be displayed.
Calendar
  
Update the gridCanvas vector drawing.
Calendar
  
Update the grid labels skin part.
Calendar
  
Update the grid renderers skin part.
Calendar
  
updateRecurrenceSet(end:Date):void
Updates the store by adding in the recurrence set for SchedulingData objects in the dataProvider.
Calendar
  
updateRendererSelection(factoryName:String):void
Updates the item renderers based on the selected data.
Calendar
  
Updates the selection on the renderers based on the "selectedData" property.
Calendar
  
Update the sub column labels skin part.
Calendar
  
Update the time labels skin part.
Calendar
Events
 Event Summary Defined By
  Dispatched when the displayed dates change.Calendar
  Dispatched when the grid label item renderers are moused down.Calendar
  Dispatched when an item renderer is clicked.Calendar
  Dispatched when a drag or resize is finished.Calendar
  Dispatched before a renderer drag starts.Calendar
  Dispatched when the selected data changes.Calendar
  Dispatched when the selected period changes.Calendar
Styles
 Style Description Defined By
  
backgroundAlpha
Type: Number CSS Inheritance: no
Alpha of the border. The default value is 1.
Calendar
  
backgroundColor
Type: uint Format: Color CSS Inheritance: no
Color of the background. The default value is #FFFFFF.
Calendar
  
itemHeightOffset
Type: Number CSS Inheritance: no
Use to change the height of renderers in the column based display.

Many calendar clients will inset renderers by a few pixels to add a few pixels of separation between adjacent renderers. In other words, in the "column" display mode, an event ending at 9 P.M. following by an event starting at 9 P.M. can have a little separation between them.

The default value is -1.
Calendar
  
itemMarginLeft
Type: Number CSS Inheritance: no
Left margin for the available space for item renderer layout. The default value is 1.
Calendar
  
itemMarginRight
Type: Number CSS Inheritance: no
Right margin for the available space for item renderer layout. The default value is 1.
Calendar
  
percentWidthZoom
Type: Number CSS Inheritance: no
Increases the width of column item renderer by the zoom percentage. If the value is 0, the renderers will not overlap and will be seperated by a single pixel. Increase the zoom percentage to overlap the item renderers.

Some popular calendars overlap the calendar renderers, and some do not. Change this property to get the desired appearance.

Range: 0 - 100. A value of 0 does not increase the renderer width.

The default value is 0.
Calendar
  
primaryGridLineColor
Type: uint Format: Color CSS Inheritance: no
Color of the primary lines for the grid and the time lines. The default value is #C0C0C0.
Calendar
  
secondaryGridLineColor
Type: uint Format: Color CSS Inheritance: no
Color of the secondary lines for the grid and time lines. The default value is #C1C1C1.
Calendar
  
selectedPeriodFillColor
Type: uint Format: Color CSS Inheritance: no
Fill color for selected period. The default value is #EEEEEE.
Calendar
  
todayFillColor
Type: uint Format: Color CSS Inheritance: no
Fill color for today's date. The default value is #DDDDDD.
Calendar
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
columnLabelFactoryPart:mx.core.IFactory
Required: true Part Type: Dynamic
Creates the labels for the columns.

The IFactory must return an object of type IColumnLabel
Calendar
  
columnRendererFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the item renderers for the column display.

The IFactory must return an object of type IColumnRenderer
Calendar
  
gridLabelFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the labels that display the grid dates.

The IFactory must return an object of type IGridLabel
Calendar
  
gridOverflowButtonFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the button that displays the number of events are not displayed in the grid display mode due to size constraints. Clicking this button will also display the gridOverflowPopup.

The IFactory must return an object of type IGridOverflowButton
Calendar
  
gridOverflowPopupFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the popup that displays the events for a day in the "grid" display mode when the day's events overflow the available space. Displayed when the gridOverflowButton is clicked.

The IFactory must return an object of type IGridOverflowPopup
Calendar
  
gridRendererFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the item renderers for the "grid" display.

The IFactory must return an object of type IGridRenderer
Calendar
  
scrollerPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the Scroller for the column display.

The IFactory must return an object of type Scroller
Calendar
  
subColumnLabelFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the labels for the sub column(s), if any.

The IFactory must return an object of type ISubColumnLabel
Calendar
  
timeLabelFactoryPart:mx.core.IFactory
Required: false Part Type: Dynamic
Creates the labels for the times for the column display.

The IFactory must return an object of type ITimeLabel
Calendar
Skin States

To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.


 Skin State Description Defined By
  
disabled
Calendar
  
normal
Calendar
Property Detail
allowMultipleSelectionproperty
public var allowMultipleSelection:Boolean = true

True to enable multiple selection.

The default value is true.

autoScrollThresholdproperty 
public var autoScrollThreshold:Number = 50

Defines the threshold from the boundaries of the viewport in which to trigger automatic scrolling during a dragging operation for column display modes.

The default value is 50.

columnCountproperty 
columnCount:int

The number of columns to display. Applicable to all display modes.

The default value is 7.


Implementation
    public function get columnCount():int
    public function set columnCount(value:int):void
dataProviderproperty 
dataProvider:IList

The dataProvider for the chart.

Requires a collection of SchedulingData objects.

This property is bindable. Bound to the "selectedDataChange" event.

The default value is null.

This property can be used as the source for data binding.


Implementation
    public function get dataProvider():IList
    public function set dataProvider(value:IList):void
displayModeproperty 
displayMode:String

The current display mode.

"column" is the mode by which single days or a week are displayed. "grid" is the typical method by which a month is displayed. "columnAndAllDayGrid" is a combination of both a grid and column based mode, using the column to display non-allday events and the grid mode to display allday events.

The default value is "column".


Implementation
    public function get displayMode():String
    public function set displayMode(value:String):void
dragEnabledproperty 
public var dragEnabled:Boolean = true

Enables or disables item renderer dragging.

The default value is true.

dragIncrementproperty 
public var dragIncrement:Number = 15

The number of minutes that renderers will grow/shrink during drag (resize) operations for the column display modes.

The default value is 15.

endTimeproperty 
endTime:Number

The number of minutes to end the calendar display in column based display modes.

The default value is 1080 (6 PM).


Implementation
    public function get endTime():Number
    public function set endTime(value:Number):void
familyIndexEndproperty 
protected var familyIndexEnd:Number

Holds the last maximum end position value for a family of overlapped renderers for the column mode.

minMinutesDisplayedInViewportproperty 
minMinutesDisplayedInViewport:Number

The minimum number of minutes of a day that are displayed in the viewport for the column based display modes.

E.G. the number of minutes visible without scrolling.

The default value is 540 (9 hours).


Implementation
    public function get minMinutesDisplayedInViewport():Number
    public function set minMinutesDisplayedInViewport(value:Number):void
primaryTimeIntervalMinutesproperty 
primaryTimeIntervalMinutes:Number

The number of minutes for each primary time interval for the column display modes.

The default value is 60.


Implementation
    public function get primaryTimeIntervalMinutes():Number
    public function set primaryTimeIntervalMinutes(value:Number):void
resizeAxisproperty 
protected var resizeAxis:Date

For resize dragging, stores the axis (E.G., the start or end depending on the direction of resize) in minutes.

resizeThresholdproperty 
public var resizeThreshold:int = 6

The number of pixels from the edges of the renderer in the column display modes that a resize cursor will be displayed and a resize operation will start on mousedown.

The default value is 6.

rowCountproperty 
rowCount:int

The number of rows to display. Only applicable to the grid display mode.

The default value is 4.


Implementation
    public function get rowCount():int
    public function set rowCount(value:int):void
secondaryTimeIntervalCountproperty 
secondaryTimeIntervalCount:Number

The number of secondary time intervals to draw between primary time intervals for column based display modes.

The default value is 1.


Implementation
    public function get secondaryTimeIntervalCount():Number
    public function set secondaryTimeIntervalCount(value:Number):void
selectedDataproperty 
selectedData:Vector.<SelectedCalendarData>

The selected calendar data.

A vector of SelectedCalendarData objects.

This property is bindable. Bound to the "selectedDataChange" event.

The default value is null.

This property can be used as the source for data binding.


Implementation
    public function get selectedData():Vector.<SelectedCalendarData>
    public function set selectedData(value:Vector.<SelectedCalendarData>):void
selectedPeriodproperty 
selectedPeriod:CalendarPeriod

The time period selected via user interaction. If sub columns are displayed, the selected period will have a reference to the calendar whose sub column is selected.

This property is bindable. Bound to the "selectedPeriodChange" event.

The default value is null.

This property can be used as the source for data binding.


Implementation
    public function get selectedPeriod():CalendarPeriod
    public function set selectedPeriod(value:CalendarPeriod):void
showFridayproperty 
showFriday:Boolean

Display data for friday.

The default value is true.


Implementation
    public function get showFriday():Boolean
    public function set showFriday(value:Boolean):void
showMondayproperty 
showMonday:Boolean

Display data for monday.

The default value is true.


Implementation
    public function get showMonday():Boolean
    public function set showMonday(value:Boolean):void
showSaturdayproperty 
showSaturday:Boolean

Display data for saturday.

The default value is true.


Implementation
    public function get showSaturday():Boolean
    public function set showSaturday(value:Boolean):void
showSundayproperty 
showSunday:Boolean

Display data for sunday.

The default value is true.


Implementation
    public function get showSunday():Boolean
    public function set showSunday(value:Boolean):void
showThursdayproperty 
showThursday:Boolean

Display data for thursday.

The default value is true.


Implementation
    public function get showThursday():Boolean
    public function set showThursday(value:Boolean):void
showTuesdayproperty 
showTuesday:Boolean

Display data for tuesday.

The default value is true.


Implementation
    public function get showTuesday():Boolean
    public function set showTuesday(value:Boolean):void
showWednesdayproperty 
showWednesday:Boolean

Display data for wednesday.

The default value is true.


Implementation
    public function get showWednesday():Boolean
    public function set showWednesday(value:Boolean):void
startDateproperty 
startDate:Date

The start date to begin display in the calendar. Any time on the provided Date object will be scrubbed and only the date will be used.

This property is bindable and bound to the "displayedDatesChanged" property.

The default value is today's date.

This property can be used as the source for data binding.


Implementation
    public function get startDate():Date
    public function set startDate(value:Date):void
startTimeproperty 
startTime:Number

The number of minutes to start the calendar display in column based display modes.

The default value is 480 (6 AM).


Implementation
    public function get startTime():Number
    public function set startTime(value:Number):void
subColumnproperty 
protected var subColumn:int

Hold the contextual sub column.

subColumnsCalendarsproperty 
subColumnsCalendars:ICollectionView

Supply an ICollectionView of CalendarDefinitionData objects to display each calendar in a sub column within a column for the column modes.

The default value is null.


Implementation
    public function get subColumnsCalendars():ICollectionView
    public function set subColumnsCalendars(value:ICollectionView):void
Method Detail
addToStore()method
protected function addToStore(item:SchedulingData, sort:Boolean = true):void

Adds a SchedulingData object to the local store by creating the necessary StoreData objects and adding them to the store at the sorted index.

You can skip adding the new objects to their sorted index position for increased speed.

Parameters

item:SchedulingData — The SchedulingData object to add to the store
 
sort:Boolean (default = true) — TRUE to add the object in the sorted position

canvasHandler()method 
protected function canvasHandler(event:Event):void

Handles events on the canvas used for selected time period dragging for all display modes.

Parameters

event:Event — the Event that triggered the handler

checkForAutoScroll()method 
protected function checkForAutoScroll():void

Checks if the mouse is within the autoscroll threshold during drag operations.

Only applicable to the "column" display mode.

clearAutoScroll()method 
protected function clearAutoScroll():void

Clears the auto scrolling timer.

columnRendererHandler()method 
protected function columnRendererHandler(event:Event):void

Handles events on the column renderer skin part.

Parameters

event:Event — the Event that triggered the handler

dragHandler()method 
protected function dragHandler(event:Event):void

Handles item renderer dragging and resizing.

Parameters

event:Event — the Event that triggered the handler

eventHandler()method 
protected function eventHandler(event:Event):void

Handles events on the component.

Parameters

event:Event — the Event that triggered the handler

getColumnStartPositions()method 
protected function getColumnStartPositions(rendererIndex:int, dayStore:Vector.<StoreData>):void

Sets the layout positions on the store data for the column renderers.

Parameters

rendererIndex:int — index of the data in the collection.
 
dayStore:Vector.<StoreData> — a store of StoreData for a particular day

getDateMap()method 
public function getDateMap():Array

Return the protected dateMap array.

Returns
Array — array
getFirstEmptyIndex()method 
protected function getFirstEmptyIndex(arr:Array):int

Returns the first empty index value in the provided array. Used to locate a renderer's vertical index for the grid display mode.

Parameters

arr:Array — The array to find the first empty index.

Returns
int — int the index of the empty position in the array.
getMousedGridIndex()method 
protected function getMousedGridIndex(canvas:SpriteVisualElement):int

Returns the row/column of where the mouse is located.

Parameters

canvas:SpriteVisualElement

Returns
int — the int index
getStoreData()method 
public function getStoreData(start:Date, end:Date, searchPhrase:String = null):Array

Returns an array of store data based on the input parameters. Will return data for repeating scheduled data.

Added optional searchPhrase property that will only return objects that have the string in their string properties.

Useful for list components.

Parameters

start:Date — The start Date to filter from
 
end:Date — The end Date to filter from
 
searchPhrase:String (default = null) — a string used to filter objects

Returns
Array — an Array of StoreData objects
gridLabelHandler()method 
protected function gridLabelHandler(event:Event):void

Handles events on the grid label skin part.

Parameters

event:Event — the Event that triggered the handler

gridOverflowHandler()method 
protected function gridOverflowHandler(event:Event):void

Handles events on the grid overflow skin part.

Parameters

event:Event — the Event that triggered the handler

gridRendererHandler()method 
protected function gridRendererHandler(event:Event):void

Handles events on the grid renderers skin part.

Parameters

event:Event — the Event that triggered the handler

handleRendererSelection()method 
protected function handleRendererSelection(dtStart:Date, dtEnd:Date, schedulingData:SchedulingData, event:MouseEvent):void

Handles selectedData and handles multiple selection if the shift or control key were held down during selection.

Note: for multiple selections, the logic follows the windows OS. A context object is maintained, which is set to the last selected renderer, or the last selection when the ctrl key was down. Shift selections do not change the context object.

Parameters

dtStart:Date — the start Date for the renderer
 
dtEnd:Date — the end Date for the renderer
 
schedulingData:SchedulingData — the SchedulingData for the renderer
 
event:MouseEvent — the MouseEvent that triggered the function

initializeColumnMode()method 
protected function initializeColumnMode():void

Initialize the column view containers.

initializeGridMode()method 
protected function initializeGridMode():void

Initialize the grid view containers.

invalidateRenderersDisplayList()method 
public function invalidateRenderersDisplayList():void

Convenient method to invalidate the display list for the item renderers.

Handy when unbound properties are changed and the renderers need to be updated. Could also manually loop through the dynamic item renderer parts and invalidate the layout.

refresh()method 
protected function refresh():void

Set flag to refresh the item renderers on the next layout pass.

removeFromStore()method 
protected function removeFromStore(item:SchedulingData):void

Removes a SchedulingData object and any associated StoreData objects from the local store.

Parameters

item:SchedulingData — The SchedulingData object to remove

removeOverflowPopup()method 
protected function removeOverflowPopup():void

Remove the overflowPopup (if exists).

returnSortedIndex()method 
protected function returnSortedIndex(item:StoreData):int

Returns what index the StoreData object should be inserted into the local store to keep the local store sorted.

Parameters

item:StoreData — The object to have its sorted index determined

Returns
int — The index of the sorted position
scrollToTime()method 
public function scrollToTime(minutes:Number):void

Scroll to the passed time for a column based display mode.

Parameters

minutes:Number — the minutes to scroll to (if possible)

sortStore()method 
protected function sortStore(x:StoreData, y:StoreData):Number

Sorts the local store of StoreData objects.

Parameters

x:StoreData — The first StoreData object.
 
y:StoreData — The second StoreData object.

Returns
Number — The number 1 if x should be sorted earlier than y, -1 if x should be sorted later than y.
updateCanvas()method 
protected function updateCanvas():void

Update the canvas for the current display mode. Handles the vector drawing. E.G. the grid lines, selected period, today's date, etc.

updateColumnCanvas()method 
protected function updateColumnCanvas():void

Update the columnCanvas vector drawing.

updateColumnLabels()method 
protected function updateColumnLabels():void

Update the column labels skin part.

updateColumnRenderers()method 
protected function updateColumnRenderers():void

Update the column renderers skin part.

updateDateMap()method 
protected function updateDateMap():void

Creates an array of the start date(s) for each day displayed. Accounts for hidden days.

updateFilteredStore()method 
protected function updateFilteredStore():void

Create a store of the data that will be displayed. Used by the item renderers.

updateGridCanvas()method 
protected function updateGridCanvas():void

Update the gridCanvas vector drawing.

updateGridLabels()method 
protected function updateGridLabels():void

Update the grid labels skin part.

updateGridRenderers()method 
protected function updateGridRenderers():void

Update the grid renderers skin part.

updateRecurrenceSet()method 
protected function updateRecurrenceSet(end:Date):void

Updates the store by adding in the recurrence set for SchedulingData objects in the dataProvider. Will create the recurrence set up to the end Date object provided.

Parameters

end:Date — The Date the recurrence set will created up to

updateRendererSelection()method 
protected function updateRendererSelection(factoryName:String):void

Updates the item renderers based on the selected data.

Parameters

factoryName:String — the name of the factory for the renderers to update

updateSelection()method 
protected function updateSelection():void

Updates the selection on the renderers based on the "selectedData" property.

updateSubColumnLabels()method 
protected function updateSubColumnLabels():void

Update the sub column labels skin part.

updateTimeLabels()method 
protected function updateTimeLabels():void

Update the time labels skin part.

Event Detail
displayedDatesChanged Event
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched when the displayed dates change.

gridLabelMouseDown Event  
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched when the grid label item renderers are moused down. Typically used to zoom in on particular days on the month.

itemClick Event  
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched when an item renderer is clicked.

itemDragEnd Event  
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched when a drag or resize is finished.

NOTE: the SchedulingData represented by the dragged renderer will be updated and the collection (dataProvider) will dispatch an "UPDATE" event. Listen for it to update your data source. If the dragged item comes from a repeating series, then the dragged item will be excluded from the series.

itemDragStarting Event  
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched before a renderer drag starts. Can be cancelled.

selectedDataChange Event  
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched when the selected data changes. See the "selectedData" property.

selectedPeriodChange Event  
Event Object Type: ardisia.scheduling.calendar.events.CalendarEvent
CalendarEvent.type property = ardisia.scheduling.calendar.events.CalendarEvent

Dispatched when the selected period changes.