Packagecom.flexcalendar.components.calendar.displayClasses.decoration
Classpublic class RendererColors
InheritanceRendererColors Inheritance Object
Implements IRendererColors, flash.events.IEventDispatcher
Subclasses RendererColorsWithHeader

Class that implements basic color set object for renderers

See also

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


Public Properties
 PropertyDefined By
  bgAlpha : Number
Get Item Renderer Background Alpha
RendererColors
  bgColor : Number
Get Item Renderer Background Color
RendererColors
  borderAlpha : Number
Get Item Renderer Border Alpha
RendererColors
  borderColor : Number
Get Item Renderer Border Color
RendererColors
  textColor : Number
Get Item Renderer Text Color
RendererColors
Public Methods
 MethodDefined By
  
RendererColors(textColor:Number, bgColor:Number, bgAlpha:Number, borderColor:Number, borderAlpha:Number)
RendererColors
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
RendererColors
  
dispatchEvent(event:Event):Boolean
RendererColors
  
hasEventListener(type:String):Boolean
RendererColors
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
RendererColors
  
willTrigger(type:String):Boolean
RendererColors
Public Constants
 ConstantDefined By
  BG_TYPE_GRADIENT : String = gradient
[static]
RendererColors
  BG_TYPE_SOLID : String = solid
[static]
RendererColors
  BLACK : String = black
[static]
RendererColors
  BLUE : String = blue
[static]
RendererColors
  BROWN : String = brown
[static]
RendererColors
  GRAY : String = gray
[static]
RendererColors
  GREEN : String = green
[static]
RendererColors
  LIGHT_BLUE : String = lightblue
[static]
RendererColors
  ORANGE : String = orange
[static]
RendererColors
  PINK : String = pink
[static]
RendererColors
  RED : String = red
[static]
RendererColors
  VIOLET : String = violet
[static]
RendererColors
  WHITE : String = white
[static]
RendererColors
  YELLOW : String = yellow
[static]
RendererColors
Property Detail
bgAlphaproperty
bgAlpha:Number

Get Item Renderer Background Alpha


Implementation
    public function get bgAlpha():Number
    public function set bgAlpha(value:Number):void
bgColorproperty 
bgColor:Number

Get Item Renderer Background Color


Implementation
    public function get bgColor():Number
    public function set bgColor(value:Number):void
borderAlphaproperty 
borderAlpha:Number

Get Item Renderer Border Alpha


Implementation
    public function get borderAlpha():Number
    public function set borderAlpha(value:Number):void
borderColorproperty 
borderColor:Number

Get Item Renderer Border Color


Implementation
    public function get borderColor():Number
    public function set borderColor(value:Number):void
textColorproperty 
textColor:Number

Get Item Renderer Text Color


Implementation
    public function get textColor():Number
    public function set textColor(value:Number):void
Constructor Detail
RendererColors()Constructor
public function RendererColors(textColor:Number, bgColor:Number, bgAlpha:Number, borderColor:Number, borderAlpha:Number)



Parameters
textColor:Number
 
bgColor:Number
 
bgAlpha:Number
 
borderColor:Number
 
borderAlpha:Number
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean
Constant Detail
BG_TYPE_GRADIENTConstant
public static const BG_TYPE_GRADIENT:String = gradient

BG_TYPE_SOLIDConstant 
public static const BG_TYPE_SOLID:String = solid

BLACKConstant 
public static const BLACK:String = black

BLUEConstant 
public static const BLUE:String = blue

BROWNConstant 
public static const BROWN:String = brown

GRAYConstant 
public static const GRAY:String = gray

GREENConstant 
public static const GREEN:String = green

LIGHT_BLUEConstant 
public static const LIGHT_BLUE:String = lightblue

ORANGEConstant 
public static const ORANGE:String = orange

PINKConstant 
public static const PINK:String = pink

REDConstant 
public static const RED:String = red

VIOLETConstant 
public static const VIOLET:String = violet

WHITEConstant 
public static const WHITE:String = white

YELLOWConstant 
public static const YELLOW:String = yellow