Packagecom.flexcalendar.components.calendar.displayClasses
Classpublic class HourLabels
InheritanceHourLabels Inheritance mx.core.UIComponent

Class responsible for drawing hour labels on the day/multiday view



Protected Properties
 PropertyDefined By
  labels : Array
Array of created labels
HourLabels
  minuteLabels : Array
Array of created minute labels
HourLabels
Public Methods
 MethodDefined By
  
Create new instance of hour labels container
HourLabels
  
setGranularityMinutes(value:Number):void
HourLabels
Styles
 Style Description Defined By
  
backgroundColor
Type: uint Format: Color CSS Inheritance: no
Background color for hour labels The default value is 0xffffff;.
HourLabels
  
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
HourLabels
  
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
HourLabels
  
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
HourLabels
  
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"
HourLabels
  
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
HourLabels
  
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:
HourLabels
  
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
HourLabels
  
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"
HourLabels
  
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
HourLabels
  
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
HourLabels
  
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
HourLabels
  
labelFormat
Type: String CSS Inheritance: no
Formatting style for full hour labels. The default value is "JJ:NN".
HourLabels
  
leftLabelPadding
Type: uint Format: Length CSS Inheritance: no
Text left padding The default value is 7;.
HourLabels
  
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
HourLabels
  
lineColor
Type: uint Format: Color CSS Inheritance: no
Color of grid lines The default value is 0xdddddd;.
HourLabels
  
lineThickness
Type: uint Format: Length CSS Inheritance: no
Grid line thickness The default value is 1;.
HourLabels
  
partLabelFormat
Type: String CSS Inheritance: no
Formatting style for part-of-hour labels. The default value is "NN".
HourLabels
  
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"
HourLabels
  
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
HourLabels
  
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
HourLabels
  
topLabelPadding
Type: int Format: Length CSS Inheritance: no
Text top padding The default value is -2;.
HourLabels
Property Detail
labelsproperty
protected var labels:Array

Array of created labels

minuteLabelsproperty 
protected var minuteLabels:Array

Array of created minute labels

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

Create new instance of hour labels container

Parameters
context:ICalendarContext
Method Detail
setGranularityMinutes()method
public function setGranularityMinutes(value:Number):void

Parameters

value:Number