Packagecom.flexcalendar.components.calendar.displayClasses
Classpublic class DayViewContainer
InheritanceDayViewContainer Inheritance mx.core.UIComponent

Component containing grid & header for days



Public Properties
 PropertyDefined By
  columnsHeader : ColumnsHeader
Columns header - drawing info about calendar item set at the top of the column.
DayViewContainer
  dayScrollBar : ScrollBar
ScrollBar for hours grid
DayViewContainer
  dayViewGrid : DayViewGrid
Hour grid - responsible for drawing hour grid in day/multiday view
DayViewContainer
  dayViewHeader : DayViewHeader
Days header - drawing day description and long events
DayViewContainer
  initialHourPosition : Number
When FlexCalendar instance is created, it will show hours in day/multiday view from to this value.
DayViewContainer
  visibleItemsDetails : Array
[write-only] Set visible items.
DayViewContainer
  wheelScrollSpeed : Number
Wheel scrolling speed.
DayViewContainer
Protected Properties
 PropertyDefined By
  _borderHeaderPaddingLeft : Number
Holds read style value
DayViewContainer
  _borderHeaderPaddingRight : Number
Holds read style value
DayViewContainer
  _borderVerticalGap : Number
Holds read style value
DayViewContainer
  calendarAvailableSpaceRenderersFactory : ClassFactory
Class factory of available space renderers
DayViewContainer
  calendarItemLongRenderersFactory : ClassFactory
Class factory of long item renderers
DayViewContainer
  calendarItemRenderersFactory : ClassFactory
Class factory of standard item renderers
DayViewContainer
  calendarUnavailableSpaceRenderersFactory : ClassFactory
Class factory of unavailable space renderers
DayViewContainer
  context : ICalendarContext
Calendar context - holds calendar configuration parameters, services etc.
DayViewContainer
  dayHoursContainer : UIComponent
Component containing hour grid and labels (they are subject of masking and scrolling)
DayViewContainer
  dayHoursMask : Sprite
Mask for dayViewContainer
DayViewContainer
  hourLabels : HourLabels
Hour labels - responsible for drawing hour labels in day/multiday view
DayViewContainer
  _lineAlpha : Number
Holds read style value
DayViewContainer
  _lineColor : uint
Holds read style value
DayViewContainer
  _lineThickness : Number
Holds read style value
DayViewContainer
  _overlaySurface : UIComponent
DayViewContainer
  _scrollBarVisible : Boolean
Holds read style value
DayViewContainer
  visibleRange : DateRange
Visible range.
DayViewContainer
Public Methods
 MethodDefined By
  
DayViewContainer(context:ICalendarContext, calendarItemRenderersFactory:ClassFactory, calendarLongItemRenderersFactory:ClassFactory, calendarAvailableSpaceRenderersFactory:ClassFactory, calendarUnavailableSpaceRenderersFactory:ClassFactory)
Create new instance of this container.
DayViewContainer
  
granularityMinutesChanged(value:Number):void
DayViewContainer
  
Request range computation.
DayViewContainer
  
visibleHoursEndChanged(value:Number):void
DayViewContainer
  
visibleHoursLimitChanged(value:Boolean):void
DayViewContainer
  
visibleHoursStartChanged(value:Number):void
DayViewContainer
Protected Methods
 MethodDefined By
  
DayViewContainer
  
Creates dayHoursContainer
DayViewContainer
  
creates dayViewContainerMask
DayViewContainer
  
Creates scroll bar for dayViewContainer
DayViewContainer
  
Creates DaysHeader
DayViewContainer
  
Creates dayViewGrid
DayViewContainer
  
Creates HourLabels
DayViewContainer
  
DayViewContainer
  
drawBorder():void
DayViewContainer
  
scrollHandler(event:ScrollEvent):void
Handler for scrollBar, invoked when scroll position has changed
DayViewContainer
  
wheelHandler(event:MouseEvent):void
Handler for mouse wheel movement
DayViewContainer
Styles
 Style Description Defined By
  
borderHeaderPaddingLeft
Type: Number Format: Length CSS Inheritance: no
Left padding of header's border The default value is 0;.
DayViewContainer
  
borderHeaderPaddingRight
Type: Number Format: Length CSS Inheritance: no
Right padding of header's border The default value is 0;.
DayViewContainer
  
borderVerticalGap
Type: Number Format: Length CSS Inheritance: no
Vertical gap betweem header's border and grid border The default value is 0;.
DayViewContainer
  
hourHeight
Type: uint Format: Length CSS Inheritance: no
Height of the single hour The default value is 40.
DayViewContainer
  
hourLabelsWidth
Type: uint Format: Length CSS Inheritance: no
Width of the component containing hour labels The default value is 40.
DayViewContainer
  
lineAlpha
Type: Number CSS Inheritance: no
Line alpha The default value is 0;.
DayViewContainer
  
lineColor
Type: uint Format: Color CSS Inheritance: no
Color of grid lines The default value is 0xdddddd;.
DayViewContainer
  
lineThickness
Type: Number Format: Length CSS Inheritance: no
Grid line thickness The default value is 1;.
DayViewContainer
  
scrollBarVisible
Type: Boolean CSS Inheritance: no
ScrollBar visibility The default value is true.
DayViewContainer
Property Detail
_borderHeaderPaddingLeftproperty
protected var _borderHeaderPaddingLeft:Number

Holds read style value

_borderHeaderPaddingRightproperty 
protected var _borderHeaderPaddingRight:Number

Holds read style value

_borderVerticalGapproperty 
protected var _borderVerticalGap:Number

Holds read style value

_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

_scrollBarVisibleproperty 
protected var _scrollBarVisible:Boolean

Holds read style value

calendarAvailableSpaceRenderersFactoryproperty 
protected var calendarAvailableSpaceRenderersFactory:ClassFactory

Class factory of available space renderers

calendarItemLongRenderersFactoryproperty 
protected var calendarItemLongRenderersFactory:ClassFactory

Class factory of long item renderers

calendarItemRenderersFactoryproperty 
protected var calendarItemRenderersFactory:ClassFactory

Class factory of standard item renderers

calendarUnavailableSpaceRenderersFactoryproperty 
protected var calendarUnavailableSpaceRenderersFactory:ClassFactory

Class factory of unavailable space renderers

columnsHeaderproperty 
public var columnsHeader:ColumnsHeader

Columns header - drawing info about calendar item set at the top of the column.

contextproperty 
protected var context:ICalendarContext

Calendar context - holds calendar configuration parameters, services etc.

dayHoursContainerproperty 
protected var dayHoursContainer:UIComponent

Component containing hour grid and labels (they are subject of masking and scrolling)

dayHoursMaskproperty 
protected var dayHoursMask:Sprite

Mask for dayViewContainer

dayScrollBarproperty 
public var dayScrollBar:ScrollBar

ScrollBar for hours grid

dayViewGridproperty 
public var dayViewGrid:DayViewGrid

Hour grid - responsible for drawing hour grid in day/multiday view

dayViewHeaderproperty 
public var dayViewHeader:DayViewHeader

Days header - drawing day description and long events

hourLabelsproperty 
protected var hourLabels:HourLabels

Hour labels - responsible for drawing hour labels in day/multiday view

initialHourPositionproperty 
initialHourPosition:Number

When FlexCalendar instance is created, it will show hours in day/multiday view from to this value. As default, this value is set to 7

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


Implementation
    public function get initialHourPosition():Number
    public function set initialHourPosition(value:Number):void
visibleItemsDetailsproperty 
visibleItemsDetails:Array  [write-only]

Set visible items. This property is write-only


Implementation
    public function set visibleItemsDetails(value:Array):void
visibleRangeproperty 
visibleRange:DateRange

Visible range. Instance of DateRange class.

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


Implementation
    protected function get visibleRange():DateRange
    protected function set visibleRange(value:DateRange):void
wheelScrollSpeedproperty 
wheelScrollSpeed:Number

Wheel scrolling speed. Default value: 50.0

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


Implementation
    public function get wheelScrollSpeed():Number
    public function set wheelScrollSpeed(value:Number):void
Constructor Detail
DayViewContainer()Constructor
public function DayViewContainer(context:ICalendarContext, calendarItemRenderersFactory:ClassFactory, calendarLongItemRenderersFactory:ClassFactory, calendarAvailableSpaceRenderersFactory:ClassFactory, calendarUnavailableSpaceRenderersFactory:ClassFactory)

Create new instance of this container.

Parameters
context:ICalendarContext — ICalendarContext instance
 
calendarItemRenderersFactory:ClassFactory — class factory for standard item renderers
 
calendarLongItemRenderersFactory:ClassFactory — class factory for long item renderers
 
calendarAvailableSpaceRenderersFactory:ClassFactory
 
calendarUnavailableSpaceRenderersFactory:ClassFactory
Method Detail
createColumnsHeader()method
protected function createColumnsHeader():void

createDayHoursContainer()method 
protected function createDayHoursContainer():void

Creates dayHoursContainer

createDayHoursMask()method 
protected function createDayHoursMask():void

creates dayViewContainerMask

createDayScrollBar()method 
protected function createDayScrollBar():void

Creates scroll bar for dayViewContainer

createDaysHeader()method 
protected function createDaysHeader():void

Creates DaysHeader

createDayViewGrid()method 
protected function createDayViewGrid():void

Creates dayViewGrid

createHourLabels()method 
protected function createHourLabels():void

Creates HourLabels

createSurfaces()method 
protected function createSurfaces():void

drawBorder()method 
protected function drawBorder():void

granularityMinutesChanged()method 
public function granularityMinutesChanged(value:Number):void

Parameters

value:Number

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

Request range computation. For this view requested range is always chosen.

Parameters

requestedRange:DateRange

Returns
DateRange — computed range - in this case requested range is returned
scrollHandler()method 
protected function scrollHandler(event:ScrollEvent):void

Handler for scrollBar, invoked when scroll position has changed

Parameters

event:ScrollEvent — ScrollEvent

visibleHoursEndChanged()method 
public function visibleHoursEndChanged(value:Number):void

Parameters

value:Number

visibleHoursLimitChanged()method 
public function visibleHoursLimitChanged(value:Boolean):void

Parameters

value:Boolean

visibleHoursStartChanged()method 
public function visibleHoursStartChanged(value:Number):void

Parameters

value:Number

wheelHandler()method 
protected function wheelHandler(event:MouseEvent):void

Handler for mouse wheel movement

Parameters

event:MouseEvent — MouseEvent