Packagefr.kapit.elasticsearch.render
Classpublic class ElasticFilterManager
InheritanceElasticFilterManager Inheritance Object



Public Properties
 PropertyDefined By
  colorPolicy : String
[read-only] the color policy is used to specify the way with it we generate the item color using the first and the last color entered by the user.
ElasticFilterManager
  dataProvider : Array
this property is used to specify the data provider.
ElasticFilterManager
  doubleClickPreventer : Boolean = false
ElasticFilterManager
  elasticFilter : ElasticFilter
ElasticFilterManager
  firstColor : uint
[read-only] The first color used to generate the item color.
ElasticFilterManager
  isAnimating : Boolean = false
ElasticFilterManager
  isScrolling : Boolean = false
ElasticFilterManager
  secondColor : uint
[read-only] The second color used to generate item colors.
ElasticFilterManager
  selectedItem : DisplayObject
[read-only] this return the selected item
ElasticFilterManager
  selectedLabel : Object
[read-only] return the selected label
ElasticFilterManager
  selectedSet : Object
[read-only] return the selected set
ElasticFilterManager
  totalOccurence : uint = 0
ElasticFilterManager
Public Methods
 MethodDefined By
  
constructor
ElasticFilterManager
  
reset():void
Reset Elastic List status
ElasticFilterManager
  
Updates Colors.
ElasticFilterManager
  
ynchronize Items status and local references.
ElasticFilterManager
  
Updates Items position according to list size changes.
ElasticFilterManager
  
Updates Item renderers Text Style.
ElasticFilterManager
  
updateList():void
ElasticFilterManager
  
ElasticFilterManager
  
updateSize():void
Update items Size.
ElasticFilterManager
  
Updates Item Renderers Tooltip show permission.
ElasticFilterManager
Public Constants
 ConstantDefined By
  COLOR_POLICY_BICHROMATIC : String = bichromatic
[static]
ElasticFilterManager
  COLOR_POLICY_MONOCHROMATIC : String = monochromatic
[static]
ElasticFilterManager
  COLOR_POLICY_SPECTRUM : String = spectrum
[static]
ElasticFilterManager
  IDLE_STATE : String = idle
[static]
ElasticFilterManager
  MAX_HEIGHT : Number = 50
[static]
ElasticFilterManager
  MIN_HEIGHT : Number = 20
[static]
ElasticFilterManager
  PROHIBITED_STATE : String = prohibited
[static]
ElasticFilterManager
  ROLL_OVER_STATE : String = rollover
[static]
ElasticFilterManager
  SELECTED_STATE : String = selected
[static]
ElasticFilterManager
Property Detail
colorPolicyproperty
colorPolicy:String  [read-only]

the color policy is used to specify the way with it we generate the item color using the first and the last color entered by the user. this property can be set to 'spectre','monochromacti','bichromatic'


Implementation
    public function get colorPolicy():String
dataProviderproperty 
dataProvider:Array

this property is used to specify the data provider. thanks to our kapData library, as any other kap component handles any data provider (XML,GML,COLLECTION...)


Implementation
    public function get dataProvider():Array
    public function set dataProvider(value:Array):void
doubleClickPreventerproperty 
public var doubleClickPreventer:Boolean = false

elasticFilterproperty 
public var elasticFilter:ElasticFilter

firstColorproperty 
firstColor:uint  [read-only]

The first color used to generate the item color.


Implementation
    public function get firstColor():uint
isAnimatingproperty 
public var isAnimating:Boolean = false

isScrollingproperty 
public var isScrolling:Boolean = false

secondColorproperty 
secondColor:uint  [read-only]

The second color used to generate item colors.


Implementation
    public function get secondColor():uint
selectedItemproperty 
selectedItem:DisplayObject  [read-only]

this return the selected item


Implementation
    public function get selectedItem():DisplayObject
selectedLabelproperty 
selectedLabel:Object  [read-only]

return the selected label


Implementation
    public function get selectedLabel():Object
selectedSetproperty 
selectedSet:Object  [read-only]

return the selected set


Implementation
    public function get selectedSet():Object
totalOccurenceproperty 
public var totalOccurence:uint = 0

Constructor Detail
ElasticFilterManager()Constructor
public function ElasticFilterManager(filter:ElasticFilter)

constructor

Parameters
filter:ElasticFilter
Method Detail
reset()method
public function reset():void

Reset Elastic List status

updateColors()method 
public function updateColors():void

Updates Colors.

updateItems()method 
public function updateItems():void

ynchronize Items status and local references.

updateItemsPositionAndSize()method 
public function updateItemsPositionAndSize():void

Updates Items position according to list size changes.

updateItemsProperties()method 
public function updateItemsProperties():void

Updates Item renderers Text Style.

updateList()method 
public function updateList():void

updateProperties()method 
public function updateProperties():void

updateSize()method 
public function updateSize():void

Update items Size.

updateTooltip()method 
public function updateTooltip():void

Updates Item Renderers Tooltip show permission.

Constant Detail
COLOR_POLICY_BICHROMATICConstant
public static const COLOR_POLICY_BICHROMATIC:String = bichromatic

COLOR_POLICY_MONOCHROMATICConstant 
public static const COLOR_POLICY_MONOCHROMATIC:String = monochromatic

COLOR_POLICY_SPECTRUMConstant 
public static const COLOR_POLICY_SPECTRUM:String = spectrum

IDLE_STATEConstant 
public static const IDLE_STATE:String = idle

MAX_HEIGHTConstant 
public static const MAX_HEIGHT:Number = 50

MIN_HEIGHTConstant 
public static const MIN_HEIGHT:Number = 20

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