Packageardisia.scheduling.calendar.themes.spark.itemRenderers
Classpublic class GridItemRenderer
InheritanceGridItemRenderer Inheritance mx.core.UIComponent
Implements IGridRenderer

Pure actionscript grid item renderer designed for use by the Calendar class. Much faster than MXML defined renderers.

Do not not forget to provide a measuredHeight in measure() for custom renderers.



Public Properties
 PropertyDefined By
  baselineShift : Number
Apply a baseline shift to the text.
GridItemRenderer
  calendar : CalendarDefinitionData
GridItemRenderer
  dragging : Boolean
GridItemRenderer
  dtEnd : Date
GridItemRenderer
  dtStart : Date
GridItemRenderer
  hovered : Boolean
GridItemRenderer
  inflow : Boolean
GridItemRenderer
  itemIndex : int
GridItemRenderer
  outflow : Boolean
GridItemRenderer
  recurIconCls : Class
Icon class used to indicate that the renderer represents data created by calender recurrence.
GridItemRenderer
  schedulingData : SchedulingData
GridItemRenderer
  selected : Boolean
GridItemRenderer
  summary : String
GridItemRenderer
Public Methods
 MethodDefined By
  
GridItemRenderer
Protected Methods
 MethodDefined By
  
Draw a left facing arrow to indicate inflow.
GridItemRenderer
  
drawRightArrow(width:Number):void
Draw a right facing arrow to indicate outflow.
GridItemRenderer
Property Detail
baselineShiftproperty
baselineShift:Number

Apply a baseline shift to the text.

The default value is 0.


Implementation
    public function get baselineShift():Number
    public function set baselineShift(value:Number):void
calendarproperty 
calendar:CalendarDefinitionData


Implementation
    public function get calendar():CalendarDefinitionData
    public function set calendar(value:CalendarDefinitionData):void
draggingproperty 
dragging:Boolean


Implementation
    public function get dragging():Boolean
    public function set dragging(value:Boolean):void
dtEndproperty 
dtEnd:Date


Implementation
    public function get dtEnd():Date
    public function set dtEnd(value:Date):void
dtStartproperty 
dtStart:Date


Implementation
    public function get dtStart():Date
    public function set dtStart(value:Date):void
hoveredproperty 
hovered:Boolean


Implementation
    public function get hovered():Boolean
    public function set hovered(value:Boolean):void
inflowproperty 
inflow:Boolean


Implementation
    public function get inflow():Boolean
    public function set inflow(value:Boolean):void
itemIndexproperty 
itemIndex:int


Implementation
    public function get itemIndex():int
    public function set itemIndex(value:int):void
outflowproperty 
outflow:Boolean


Implementation
    public function get outflow():Boolean
    public function set outflow(value:Boolean):void
recurIconClsproperty 
public var recurIconCls:Class

Icon class used to indicate that the renderer represents data created by calender recurrence.

schedulingDataproperty 
schedulingData:SchedulingData


Implementation
    public function get schedulingData():SchedulingData
    public function set schedulingData(value:SchedulingData):void
selectedproperty 
selected:Boolean


Implementation
    public function get selected():Boolean
    public function set selected(value:Boolean):void
summaryproperty 
summary:String


Implementation
    public function get summary():String
    public function set summary(value:String):void
Constructor Detail
GridItemRenderer()Constructor
public function GridItemRenderer()



Method Detail
drawLeftArrow()method
protected function drawLeftArrow():void

Draw a left facing arrow to indicate inflow.

drawRightArrow()method 
protected function drawRightArrow(width:Number):void

Draw a right facing arrow to indicate outflow.

Parameters

width:Number — of the renderer