Packagecom.keepcore.calendar.view.renderers
Classpublic class CalendarMonthCellRenderer
InheritanceCalendarMonthCellRenderer Inheritance CalendarMonthCellRendererAbstract Inheritance CalendarMonthDisplayer Inheritance CalendarPartDisplayer Inheritance mx.core.UIComponent

This is the default month cell renderer (used in year view). It does nothing else than clearing graphics and letting the CalendarMonthCellRendererAbstract manages display.



Public Properties
 PropertyDefined By
 InheritedcalendarMonth : CalendarMonth
[override]
CalendarMonthCellRendererAbstract
 InheritedcalendarPart : CalendarPart
Calendar part reference.
CalendarPartDisplayer
 InheriteddrawToolTip : Boolean
Indicates if the part handles the tool tip drawing.
CalendarPartDisplayer
 InheritedfullDayToolTip : Boolean
Indicates if the displayed tooltip is always full day (used by day headers as example).
CalendarPartDisplayer
 InheritedmanageCellBackground : Boolean
Indicates if the cell background display is managed.
CalendarMonthCellRendererAbstract
 InheritedmanageCellHighlight : Boolean
Indicates if the cell highlight display is managed.
CalendarMonthCellRendererAbstract
 InheritedmanageDayColorFunction : Boolean
Indicates if the cell background display is managed.
CalendarMonthCellRendererAbstract
 InheritedmanageDayGrid : Boolean
Indicates if the cell background display is managed.
CalendarMonthCellRendererAbstract
 InheritedmanageDayLabels : Boolean
Indicates if the cell background display is managed.
CalendarMonthCellRendererAbstract
 InheritedmanageEndOfWeeks : Boolean
Indicates if the cell background display is managed.
CalendarMonthCellRendererAbstract
 InheritedmanageWeekLabels : Boolean
Indicates if the cell background display is managed.
CalendarMonthCellRendererAbstract
 InheritedmouseOverDate : Date
Indicates the current mouse over date.
CalendarPartDisplayer
 InheritedmouseOverDateColumn : int
Indicates the current mouse over date column (if column mode is enabled).
CalendarPartDisplayer
Protected Properties
 PropertyDefined By
 InheritedbackgroundColor : Number
[read-only] Get the cell background color.
CalendarMonthCellRendererAbstract
Public Methods
 MethodDefined By
  
CalendarMonthCellRenderer
 Inherited
In column mode, return the column width (takes in account the item margins).
CalendarPartDisplayer
 Inherited
If column mode is enabled, return the column index according to mouse X position.
CalendarPartDisplayer
 Inherited
localToDateTime(coordX:Number = -1, coordY:Number = -1, onlyCurrentDayTime:Boolean = false, eventTimeStepMultiple:Boolean = true):Date
[override] Return the date specified by mouse position in the current cell.
CalendarMonthCellRendererAbstract
 Inherited
refreshMouseTooltip(event:MouseEvent):void
Create or update the cell mouse tooltip.
CalendarPartDisplayer
Protected Methods
 MethodDefined By
 Inherited
[override]
CalendarMonthCellRendererAbstract
 Inherited
createMouseToolTip(date:Date, x:Number, y:Number):void
CalendarPartDisplayer
 Inherited
dayLabelClickHandler(event:MouseEvent):void
Day label click handler: if calendarLinksEnabled property is true, update the view else dispatch a DateClickEvent.DATE_CLICK event.
CalendarMonthCellRendererAbstract
 Inherited
CalendarPartDisplayer
 Inherited
drawHighlight(unscaledWidth:Number, columnWidth:Number, stepStartY:Number, stepHeight:Number, highlightAlpha:Number, rangeSelection:Boolean, noBorder:Boolean = false):void
CalendarPartDisplayer
 Inherited
drawRanges(ranges:ArrayCollection, aX:Number, aWidth:Number, bkgColor:uint, alpha:Number):void
Draw ranges.
CalendarPartDisplayer
 Inherited
getRangesRect(ranges:ArrayCollection, aX:Number, aWidth:Number):Array
Return array of Rectangle objects that defines the ranges coordinates.
CalendarPartDisplayer
 Inherited
measure():void
[override] Restrict minimum height.
CalendarMonthCellRendererAbstract
 Inherited
[override] Overriden resourcesChanged method.
CalendarMonthCellRendererAbstract
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
CalendarMonthCellRenderer
 Inherited
updateMouseToolTip(date:Date, x:Number, y:Number):void
CalendarPartDisplayer
 Inherited
weekLabelClickHandler(event:MouseEvent):void
Week label click handler: if calendarLinksEnabled property is true, update the view else dispatch a DateClickEvent.DATE_CLICK event.
CalendarMonthCellRendererAbstract
Constructor Detail
CalendarMonthCellRenderer()Constructor
public function CalendarMonthCellRenderer(calendarMonth:CalendarMonth = null)



Parameters
calendarMonth:CalendarMonth (default = null)
Method Detail
updateDisplayList()method
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number