Packagecom.flexcalendar.components.calendar.displayClasses.decoration
Classpublic class RendererColorsWithHeaderAndGradient
InheritanceRendererColorsWithHeaderAndGradient Inheritance RendererColorsWithHeader Inheritance RendererColors Inheritance Object
Implements IRendererColors, IRendererColorsHeader, IRendererColorsWithGradient

Class that contains extended color set for renderers

See also

com.flexcalendar.components.calendar.core.dataModel.CalendarItem


Public Properties
 PropertyDefined By
 InheritedbgAlpha : Number
Get Item Renderer Background Alpha
RendererColors
 InheritedbgColor : Number
Get Item Renderer Background Color
RendererColors
  bgType : String
gets type of background RendererColors.BG_TYPE_SOLID | RendererColors.BG_TYPE_GRADIENT gradient colors and gradientAngle is applied only when bgType == RendererColors.BG_TYPE_GRADIENT
RendererColorsWithHeaderAndGradient
 InheritedborderAlpha : Number
Get Item Renderer Border Alpha
RendererColors
 InheritedborderColor : Number
Get Item Renderer Border Color
RendererColors
  gradient1Color : Number
gets first color of bg gradient (applied only when bgType == RendererColors.BG_TYPE_GRADIENT)
RendererColorsWithHeaderAndGradient
  gradient2Color : Number
gets second color of bg gradient (applied only when bgType == RendererColors.BG_TYPE_GRADIENT)
RendererColorsWithHeaderAndGradient
  gradientAngle : Number
gets bg gradient angle (applied only when bgType == RendererColors.BG_TYPE_GRADIENT)
RendererColorsWithHeaderAndGradient
 InheritedheaderAlpha : Number
Get Item Renderer Header Alpha
RendererColorsWithHeader
 InheritedheaderColor : Number
Get Item Renderer Header Color
RendererColorsWithHeader
 InheritedtextColor : Number
Get Item Renderer Text Color
RendererColors
Public Methods
 MethodDefined By
  
RendererColorsWithHeaderAndGradient(textColor:Number, bgColor:Number, bgAlpha:Number, borderColor:Number, borderAlpha:Number, headerColor:Number, headerAlpha:Number, bgType:String, gradient1Color:Number, gradient2Color:Number, gradientAngle:Number)
RendererColorsWithHeaderAndGradient
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
RendererColors
 Inherited
dispatchEvent(event:Event):Boolean
RendererColors
 Inherited
hasEventListener(type:String):Boolean
RendererColors
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
RendererColors
 Inherited
willTrigger(type:String):Boolean
RendererColors
Public Constants
 ConstantDefined By
 InheritedBG_TYPE_GRADIENT : String = gradient
[static]
RendererColors
 InheritedBG_TYPE_SOLID : String = solid
[static]
RendererColors
 InheritedBLACK : String = black
[static]
RendererColors
 InheritedBLUE : String = blue
[static]
RendererColors
 InheritedBROWN : String = brown
[static]
RendererColors
 InheritedGRAY : String = gray
[static]
RendererColors
 InheritedGREEN : String = green
[static]
RendererColors
 InheritedLIGHT_BLUE : String = lightblue
[static]
RendererColors
 InheritedORANGE : String = orange
[static]
RendererColors
 InheritedPINK : String = pink
[static]
RendererColors
 InheritedRED : String = red
[static]
RendererColors
 InheritedVIOLET : String = violet
[static]
RendererColors
 InheritedWHITE : String = white
[static]
RendererColors
 InheritedYELLOW : String = yellow
[static]
RendererColors
Property Detail
bgTypeproperty
bgType:String

gets type of background RendererColors.BG_TYPE_SOLID | RendererColors.BG_TYPE_GRADIENT gradient colors and gradientAngle is applied only when bgType == RendererColors.BG_TYPE_GRADIENT


Implementation
    public function get bgType():String
    public function set bgType(value:String):void
gradient1Colorproperty 
gradient1Color:Number

gets first color of bg gradient (applied only when bgType == RendererColors.BG_TYPE_GRADIENT)


Implementation
    public function get gradient1Color():Number
    public function set gradient1Color(value:Number):void
gradient2Colorproperty 
gradient2Color:Number

gets second color of bg gradient (applied only when bgType == RendererColors.BG_TYPE_GRADIENT)


Implementation
    public function get gradient2Color():Number
    public function set gradient2Color(value:Number):void
gradientAngleproperty 
gradientAngle:Number

gets bg gradient angle (applied only when bgType == RendererColors.BG_TYPE_GRADIENT)


Implementation
    public function get gradientAngle():Number
    public function set gradientAngle(value:Number):void
Constructor Detail
RendererColorsWithHeaderAndGradient()Constructor
public function RendererColorsWithHeaderAndGradient(textColor:Number, bgColor:Number, bgAlpha:Number, borderColor:Number, borderAlpha:Number, headerColor:Number, headerAlpha:Number, bgType:String, gradient1Color:Number, gradient2Color:Number, gradientAngle:Number)



Parameters
textColor:Number
 
bgColor:Number
 
bgAlpha:Number
 
borderColor:Number
 
borderAlpha:Number
 
headerColor:Number
 
headerAlpha:Number
 
bgType:String
 
gradient1Color:Number (default = NaN)
 
gradient2Color:Number (default = NaN)
 
gradientAngle:Number (default = NaN)