Packagecom.flexcalendar.components.calendar.displayClasses.headers
Classpublic class MonthViewHeader
InheritanceMonthViewHeader Inheritance mx.core.UIComponent
Implements IRenderersContainer

Class displaying headers in month view. Day labels are drawn here.



Public Properties
 PropertyDefined By
  firstDay : int
First day in the week.
MonthViewHeader
Public Methods
 MethodDefined By
  
Create new instance of month view header
MonthViewHeader
  
removeRenderers(itemDetails:ItemDetails):void
MonthViewHeader
Styles
 Style Description Defined By
  
backgroundColor
Type: uint Format: Color CSS Inheritance: no
Background color for header The default value is 0xe3e9ff;.
MonthViewHeader
  
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
MonthViewHeader
  
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
MonthViewHeader
  
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
MonthViewHeader
  
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"
MonthViewHeader
  
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
MonthViewHeader
  
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:
MonthViewHeader
  
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
MonthViewHeader
  
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"
MonthViewHeader
  
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
MonthViewHeader
  
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
MonthViewHeader
  
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
MonthViewHeader
  
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
MonthViewHeader
  
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"
MonthViewHeader
  
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
MonthViewHeader
  
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
MonthViewHeader
Property Detail
firstDayproperty
firstDay:int

First day in the week. As default, Sunday (0) is set. 0 for Sunday, 1 for Monday, and so on.


Implementation
    public function get firstDay():int
    public function set firstDay(value:int):void
Constructor Detail
MonthViewHeader()Constructor
public function MonthViewHeader(context:ICalendarContext)

Create new instance of month view header

Parameters
context:ICalendarContext — ICalendarContext instance
Method Detail
removeRenderers()method
public function removeRenderers(itemDetails:ItemDetails):void

Parameters

itemDetails:ItemDetails