Packagecom.flexcalendar.components.calendar.displayClasses.headers
Classpublic class ColumnsHeader
InheritanceColumnsHeader Inheritance mx.core.UIComponent
Implements IDateRangeAware

Columns header displays calendar item sets' details at the header, when columns mode is enabled.



Public Properties
 PropertyDefined By
  headerHeight : uint
[read-only]
ColumnsHeader
Protected Properties
 PropertyDefined By
  _backgroundColor : uint
ColumnsHeader
  _columnLineAlpha : Number
ColumnsHeader
  _columnLineColor : uint
ColumnsHeader
  _columnLineThickness : Number
ColumnsHeader
  columnsInDay : int = 1
ColumnsHeader
  columnWidth : int
ColumnsHeader
  context : ICalendarContext
Component's context
ColumnsHeader
  dayWidth : Number
ColumnsHeader
  _leftPadding : Number
ColumnsHeader
  _lineAlpha : Number
ColumnsHeader
  _lineColor : uint
ColumnsHeader
  _lineThickness : Number
ColumnsHeader
  numberOfDays : uint = 1
ColumnsHeader
  _rightPadding : Number
ColumnsHeader
  visibleRange : DateRange
ColumnsHeader
Public Methods
 MethodDefined By
  
ColumnsHeader
  
ColumnsHeader
  
Update visible columns with calendars
ColumnsHeader
Protected Methods
 MethodDefined By
  
calculateInternalDimensions(unscaledWidth:Number, unscaledHeight:Number):void
ColumnsHeader
  
ColumnsHeader
  
ColumnsHeader
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
ColumnsHeader
Styles
 Style Description Defined By
  
backgroundColor
Type: uint Format: Color CSS Inheritance: no
Background color for header The default value is 0xe3e9ff;.
ColumnsHeader
  
color
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component, including the component label. Default values are inherited from default css, with exceptions: HourLabels: 0x767477 DayViewHeader: 0x3214cf CalendarItemRenderer: 0xFFFFFF DaysGrid: 0x666666
ColumnsHeader
  
columnLineAlpha
Type: Number Format: Length CSS Inheritance: no
Alpha of columns line The default value is 0.6.
ColumnsHeader
  
columnLineColor
Type: uint Format: Color CSS Inheritance: no
Color of columns line The default value is 0xeeeeee.
ColumnsHeader
  
columnLineThickness
Type: Number Format: Length CSS Inheritance: no
Thickness of columns line The default value is 1.
ColumnsHeader
  
disabledColor
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component if it is disabled. Default values are inherited from default css
ColumnsHeader
  
fontAntiAliasType
Type: String CSS Inheritance: yes
Sets the antiAliasType property of internal TextFields. The possible values are "normal" (flash.text.AntiAliasType.NORMAL) and "advanced" (flash.text.AntiAliasType.ADVANCED). Default values are inherited from default css
ColumnsHeader
  
fontFamily
Type: String CSS Inheritance: yes
Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. Default values are inherited from default css, with exceptions: HourLabels: "Arial" DayViewHeader: "Arial" CalendarItemRenderer: "Arial"
ColumnsHeader
  
fontGridFitType
Type: String CSS Inheritance: yes
Sets the gridFitType property of internal TextFields that represent text in Flex controls. The possible values are "none" (flash.text.GridFitType.NONE), "pixel" (flash.text.GridFitType.PIXEL), and "subpixel" (flash.text.GridFitType.SUBPIXEL). Default values are inherited from default css
ColumnsHeader
  
fontSharpness
Type: Number CSS Inheritance: yes
Sets the sharpness property of internal TextFields that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400. Default values are inherited from default css, with exceptions:
ColumnsHeader
  
fontSize
Type: Number Format: Length CSS Inheritance: yes
Height of the text, in pixels. Default values are inherited from default css, with exceptions: HourLabels: 11 DayViewHeader: 13; CalendarItemRenderer: 11 DaysGrid: 11
ColumnsHeader
  
fontStyle
Type: String CSS Inheritance: yes
Determines whether the text is italic font. Recognized values are "normal" and "italic". Default values are inherited from default css, with exceptions: HourLabels: "normal" DayViewHeader: "normal"
ColumnsHeader
  
fontThickness
Type: Number CSS Inheritance: yes
Sets the thickness property of internal TextFields that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200. Default values are inherited from default css
ColumnsHeader
  
fontWeight
Type: String CSS Inheritance: yes
Determines whether the text is boldface. Recognized values are normal and bold. Default values are inherited from default css, with exceptions: HourLabels: normal DayViewHeader: normal
ColumnsHeader
  
headerHeight
Type: Number Format: Length CSS Inheritance: no
Height of the container header The default value is 18.
ColumnsHeader
  
kerning
Type: Boolean CSS Inheritance: yes
A Boolean value that indicates whether kerning is enabled (true) or disabled (false). Kerning adjusts the gap between certain character pairs to improve readability, and should be used only when necessary, such as with headings in large fonts. Kerning is supported for embedded fonts only. Certain fonts, such as Verdana, and monospaced fonts, such as Courier New, do not support kerning. Default values are inherited from default css
ColumnsHeader
  
leftPadding
Type: Number Format: Length CSS Inheritance: no
Left padding of the component, where only background is drawn. As default this is equal to HourLabels width The default value is 40;.
ColumnsHeader
  
letterSpacing
Type: Number CSS Inheritance: yes
The number of additional pixels to appear between each character. A positive value increases the character spacing beyond the normal spacing, while a negative value decreases it. Default values are inherited from default css
ColumnsHeader
  
lineAlpha
Type: Number CSS Inheritance: no
Line alpha The default value is 1;.
ColumnsHeader
  
lineColor
Type: uint Format: Color CSS Inheritance: no
Color of grid lines The default value is 0xdddddd;.
ColumnsHeader
  
lineThickness
Type: Number Format: Length CSS Inheritance: no
Grid line thickness The default value is 1;.
ColumnsHeader
  
rightPadding
Type: Number Format: Length CSS Inheritance: no
Right padding of the component, where only background is drawn As default this is equal to ScrollBar width The default value is 16;.
ColumnsHeader
  
textAlign
Type: String CSS Inheritance: yes
Alignment of text within a container. Possible values are "left", "right", or "center". Default values are inherited from default css, with exceptions: DayViewHeader: "left"
ColumnsHeader
  
textDecoration
Type: String CSS Inheritance: yes
Determines whether the text is underlined. Possible values are "none" and "underline". Default values are inherited from default css
ColumnsHeader
  
textIndent
Type: Number Format: Length CSS Inheritance: yes
Offset of first line of text from the left side of the container, in pixels. Default values are inherited from default css
ColumnsHeader
Property Detail
_backgroundColorproperty
protected var _backgroundColor:uint

_columnLineAlphaproperty 
protected var _columnLineAlpha:Number

_columnLineColorproperty 
protected var _columnLineColor:uint

_columnLineThicknessproperty 
protected var _columnLineThickness:Number

_leftPaddingproperty 
protected var _leftPadding:Number

_lineAlphaproperty 
protected var _lineAlpha:Number

_lineColorproperty 
protected var _lineColor:uint

_lineThicknessproperty 
protected var _lineThickness:Number

_rightPaddingproperty 
protected var _rightPadding:Number

columnsInDayproperty 
protected var columnsInDay:int = 1

columnWidthproperty 
protected var columnWidth:int

contextproperty 
protected var context:ICalendarContext

Component's context

dayWidthproperty 
protected var dayWidth:Number

headerHeightproperty 
headerHeight:uint  [read-only]


Implementation
    public function get headerHeight():uint
numberOfDaysproperty 
protected var numberOfDays:uint = 1

visibleRangeproperty 
protected var visibleRange:DateRange

Constructor Detail
ColumnsHeader()Constructor
public function ColumnsHeader(context:ICalendarContext)



Parameters
context:ICalendarContext
Method Detail
calculateInternalDimensions()method
protected function calculateInternalDimensions(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number

drawBackground()method 
protected function drawBackground():void

drawVerticalLines()method 
protected function drawVerticalLines():void

setVisibleRange()method 
public function setVisibleRange(value:DateRange):void

Parameters

value:DateRange

updateDisplayList()method 
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number

updateVisibleCalendarItemSet()method 
public function updateVisibleCalendarItemSet():void

Update visible columns with calendars