Packagefr.kapit.elasticsearch.render
Classpublic class ElasticItemRenderer
InheritanceElasticItemRenderer Inheritance mx.core.UIComponent
Implements mx.core.IDataRenderer, mx.controls.listClasses.IListItemRenderer, mx.core.IFontContextComponent, IElasticItemRenderer, IColorable



Public Properties
 PropertyDefined By
  backgroundAlpha : Number
Background alpha
ElasticItemRenderer
  baseHeight : Number
this is used to specify the calculated height ot the itemRenderer
ElasticItemRenderer
  borderColor : uint
Item border color
ElasticItemRenderer
  colorValue : Number = 0
ElasticItemRenderer
  data : Object
ElasticItemRenderer
  elasticFilter : ElasticFilter
[write-only]
ElasticItemRenderer
  firstLabelField : String
Label data field.
ElasticItemRenderer
  fontColor : uint
ElasticItemRenderer
  fontContext : IFlexModuleFactory
Font context.
ElasticItemRenderer
  fontFamily : String
ElasticItemRenderer
  fontSize : uint
ElasticItemRenderer
  fontWeight : String
ElasticItemRenderer
  itemColor : uint
Item background color
ElasticItemRenderer
  itemState : String
Item Status : prohibted, selected or idle
ElasticItemRenderer
  reducedItemColor : uint
Background color when the item is in a disable status
ElasticItemRenderer
  rollOverItemColor : uint
Item roll Over background color
ElasticItemRenderer
  secondLabelField : String
Occurence data field.
ElasticItemRenderer
  selectedItemColor : uint
Selected background color
ElasticItemRenderer
  showToolTip : Boolean
this is used to specify if we shoold displat the tooltip on the itemRenderer or not
ElasticItemRenderer
  tootltipField : String
Tootltip data field.
ElasticItemRenderer
Public Methods
 MethodDefined By
  
Constructor
ElasticItemRenderer
Protected Methods
 MethodDefined By
  
[override]
ElasticItemRenderer
  
[override]
ElasticItemRenderer
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
ElasticItemRenderer
Public Constants
 ConstantDefined By
  IDLE_STATE : String = idle
[static]
ElasticItemRenderer
  PROHIBITED_STATE : String = prohibited
[static]
ElasticItemRenderer
  ROLL_OVER_STATE : String = rollover
[static]
ElasticItemRenderer
  SELECTED_STATE : String = selected
[static]
ElasticItemRenderer
Property Detail
backgroundAlphaproperty
backgroundAlpha:Number

Background alpha


Implementation
    public function get backgroundAlpha():Number
    public function set backgroundAlpha(value:Number):void
baseHeightproperty 
baseHeight:Number

this is used to specify the calculated height ot the itemRenderer


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

Item border color


Implementation
    public function get borderColor():uint
    public function set borderColor(value:uint):void
colorValueproperty 
public var colorValue:Number = 0

dataproperty 
data:Object


Implementation
    public function get data():Object
    public function set data(value:Object):void
elasticFilterproperty 
elasticFilter:ElasticFilter  [write-only]


Implementation
    public function set elasticFilter(value:ElasticFilter):void
firstLabelFieldproperty 
firstLabelField:String

Label data field.


Implementation
    public function get firstLabelField():String
    public function set firstLabelField(value:String):void
fontColorproperty 
fontColor:uint


Implementation
    public function get fontColor():uint
    public function set fontColor(value:uint):void
fontContextproperty 
fontContext:IFlexModuleFactory

Font context.


Implementation
    public function get fontContext():IFlexModuleFactory
    public function set fontContext(value:IFlexModuleFactory):void
fontFamilyproperty 
fontFamily:String


Implementation
    public function get fontFamily():String
    public function set fontFamily(value:String):void
fontSizeproperty 
fontSize:uint


Implementation
    public function get fontSize():uint
    public function set fontSize(value:uint):void
fontWeightproperty 
fontWeight:String


Implementation
    public function get fontWeight():String
    public function set fontWeight(value:String):void
itemColorproperty 
itemColor:uint

Item background color


Implementation
    public function get itemColor():uint
    public function set itemColor(value:uint):void
itemStateproperty 
itemState:String

Item Status : prohibted, selected or idle


Implementation
    public function get itemState():String
    public function set itemState(value:String):void
reducedItemColorproperty 
reducedItemColor:uint

Background color when the item is in a disable status


Implementation
    public function get reducedItemColor():uint
    public function set reducedItemColor(value:uint):void
rollOverItemColorproperty 
rollOverItemColor:uint

Item roll Over background color


Implementation
    public function get rollOverItemColor():uint
    public function set rollOverItemColor(value:uint):void
secondLabelFieldproperty 
secondLabelField:String

Occurence data field.


Implementation
    public function get secondLabelField():String
    public function set secondLabelField(value:String):void
selectedItemColorproperty 
selectedItemColor:uint

Selected background color


Implementation
    public function get selectedItemColor():uint
    public function set selectedItemColor(value:uint):void
showToolTipproperty 
showToolTip:Boolean

this is used to specify if we shoold displat the tooltip on the itemRenderer or not


Implementation
    public function get showToolTip():Boolean
    public function set showToolTip(value:Boolean):void
tootltipFieldproperty 
tootltipField:String

Tootltip data field.


Implementation
    public function get tootltipField():String
    public function set tootltipField(value:String):void
Constructor Detail
ElasticItemRenderer()Constructor
public function ElasticItemRenderer()

Constructor

Method Detail
commitProperties()method
override protected function commitProperties():void

createChildren()method 
override protected function createChildren():void

updateDisplayList()method 
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number

Constant Detail
IDLE_STATEConstant
public static const IDLE_STATE:String = idle

PROHIBITED_STATEConstant 
public static const PROHIBITED_STATE:String = prohibited

ROLL_OVER_STATEConstant 
public static const ROLL_OVER_STATE:String = rollover

SELECTED_STATEConstant 
public static const SELECTED_STATE:String = selected