Packagecom.flexcalendar.components.calendar.displayClasses
Classpublic class MonthViewContainer
InheritanceMonthViewContainer Inheritance mx.core.UIComponent

Line alpha



Public Properties
 PropertyDefined By
  monthViewGrid : MonthViewGrid
Days grid - draws days in month mode
MonthViewContainer
  monthViewHeader : MonthViewHeader
Mont header - drawing names of the days in the week
MonthViewContainer
  visibleItemsDetails : Array
[write-only] Set visible items.
MonthViewContainer
Protected Properties
 PropertyDefined By
  context : ICalendarContext
Calendar context - holds calendar configuration parameters, services etc.
MonthViewContainer
  itemRenderersFactory : ClassFactory
Class factory for label item renderers.
MonthViewContainer
  _lineAlpha : Number
Holds read style value
MonthViewContainer
  _lineColor : uint
Holds read style value
MonthViewContainer
  _lineThickness : Number
Holds read style value
MonthViewContainer
  longItemRenderersFactory : ClassFactory
Class factory for label item renderers.
MonthViewContainer
  _overlaySurface : UIComponent
MonthViewContainer
Public Methods
 MethodDefined By
  
MonthViewContainer(context:ICalendarContext, itemRenderersFactory:ClassFactory, longItemRenderersFactory:ClassFactory)
Create new instance of month view container.
MonthViewContainer
  
Request range computation
MonthViewContainer
Protected Methods
 MethodDefined By
  
Create grid component - instance of MonthViewGrid
MonthViewContainer
  
Create header component - instance of MonthViewHeader
MonthViewContainer
  
MonthViewContainer
  
drawBorder():void
MonthViewContainer
Styles
 Style Description Defined By
  
headerHeight
Type: Number Format: Length CSS Inheritance: no
Height of the container header The default value is 18.
MonthViewContainer
  
lineAlpha
Type: Number CSS Inheritance: no
Line alpha The default value is 0;.
MonthViewContainer
  
lineColor
Type: uint Format: Color CSS Inheritance: no
Color of grid lines The default value is 0xdddddd;.
MonthViewContainer
  
lineThickness
Type: Number Format: Length CSS Inheritance: no
Grid line thickness The default value is 1;.
MonthViewContainer
Property Detail
_lineAlphaproperty
protected var _lineAlpha:Number

Holds read style value

_lineColorproperty 
protected var _lineColor:uint

Holds read style value

_lineThicknessproperty 
protected var _lineThickness:Number

Holds read style value

_overlaySurfaceproperty 
protected var _overlaySurface:UIComponent

contextproperty 
protected var context:ICalendarContext

Calendar context - holds calendar configuration parameters, services etc.

itemRenderersFactoryproperty 
protected var itemRenderersFactory:ClassFactory

Class factory for label item renderers.

longItemRenderersFactoryproperty 
protected var longItemRenderersFactory:ClassFactory

Class factory for label item renderers.

monthViewGridproperty 
public var monthViewGrid:MonthViewGrid

Days grid - draws days in month mode

monthViewHeaderproperty 
public var monthViewHeader:MonthViewHeader

Mont header - drawing names of the days in the week

visibleItemsDetailsproperty 
visibleItemsDetails:Array  [write-only]

Set visible items. This property is write-only


Implementation
    public function set visibleItemsDetails(value:Array):void
Constructor Detail
MonthViewContainer()Constructor
public function MonthViewContainer(context:ICalendarContext, itemRenderersFactory:ClassFactory, longItemRenderersFactory:ClassFactory)

Create new instance of month view container.

Parameters
context:ICalendarContext — ICalendarContext instance
 
itemRenderersFactory:ClassFactory — class factory for label item renderers
 
longItemRenderersFactory:ClassFactory — class factory for long label item renderers
Method Detail
createMonthViewGrid()method
protected function createMonthViewGrid():void

Create grid component - instance of MonthViewGrid

createMonthViewHeader()method 
protected function createMonthViewHeader():void

Create header component - instance of MonthViewHeader

createSurfaces()method 
protected function createSurfaces():void

drawBorder()method 
protected function drawBorder():void

requestRange()method 
public function requestRange(requestedRange:DateRange):DateRange

Request range computation

Parameters

requestedRange:DateRange

Returns
DateRange — computed range - in this case returns first month of requested range