Packagecom.flexicious.grids.spark.skinparts
Classpublic class GridColumnFilterGroup
InheritanceGridColumnFilterGroup Inheritance GridColumnFooterGroup Inheritance spark.components.GridColumnHeaderGroup
Implements IFilterControlContainer

The group that holds the filter controls. Inherits all of the layout code from the header group

Default MXML PropertymxmlContent



Protected Properties
 PropertyDefined By
  _filterContainerInterface : FilterContainerImpl
GridColumnFilterGroup
Public Methods
 MethodDefined By
  
Constructor .
GridColumnFilterGroup
  
getFilterArguments():ArrayCollection
Loops through all registered IFilterControls, and creates a filter
GridColumnFilterGroup
  
getFilterControls():ArrayCollection
Returns all the filter controls
GridColumnFilterGroup
  
getFilterValue(column:String):Object
Used to set the initial value of the filter.
GridColumnFilterGroup
  
getNextFocusableFilter(myIndex:int, forward:Boolean, inclusive:Boolean = false):IFocusManagerComponent
Gets the next focusable filter control starting at myIndex, proceeding in forward or backward direction based on the forward parameter
GridColumnFilterGroup
  
hasField(column:String):Boolean
Returns true if the container has a filter control that is bound to the specified column.
GridColumnFilterGroup
  
redraw():void
[override] Calls the refresh method on each of the renderers.
GridColumnFilterGroup
  
Registers the IFilter control in our list.
GridColumnFilterGroup
  
setFilterFocus(fld:String):Boolean
GridColumnFilterGroup
  
setFilterValue(column:String, value:Object):void
Used to set the initial value of the filter.
GridColumnFilterGroup
  
setFocusOnNextFocusableControl(myIndex:int, forward:Boolean, inclusive:Boolean = false):Boolean
Sets the focus on the next focusable filter control starting at myIndex, proceeding in forward or backward direction based on the forward parameter
GridColumnFilterGroup
  
Registers the IFilter control in our list.
GridColumnFilterGroup
Protected Methods
 MethodDefined By
 Inherited
gchg_clickHandler(event:MouseEvent):void
[override]
GridColumnFooterGroup
 Inherited
gchg_doubleClickHandler(event:MouseEvent):void
[override]
GridColumnFooterGroup
 Inherited
gchg_mouseMoveHandler(event:MouseEvent):void
[override]
GridColumnFooterGroup
 Inherited
gchg_mouseRollOutHandler(event:MouseEvent):void
[override]
GridColumnFooterGroup
  
onFilterControlRemoved(event:Event):void
GridColumnFilterGroup
  
GridColumnFilterGroup
Property Detail
_filterContainerInterfaceproperty
protected var _filterContainerInterface:FilterContainerImpl

Constructor Detail
GridColumnFilterGroup()Constructor
public function GridColumnFilterGroup()

Constructor . Associate the GridColumnFilterGroupLayout layout

Method Detail
getFilterArguments()method
public function getFilterArguments():ArrayCollection

Loops through all registered IFilterControls, and creates a filter

Returns
ArrayCollection
getFilterControls()method 
public function getFilterControls():ArrayCollection

Returns all the filter controls

Returns
ArrayCollection
getFilterValue()method 
public function getFilterValue(column:String):Object

Used to set the initial value of the filter.

Parameters

column:String

Returns
Object
getNextFocusableFilter()method 
public function getNextFocusableFilter(myIndex:int, forward:Boolean, inclusive:Boolean = false):IFocusManagerComponent

Gets the next focusable filter control starting at myIndex, proceeding in forward or backward direction based on the forward parameter

Parameters

myIndex:int — The index to start searching at
 
forward:Boolean — Direction to search in.
 
inclusive:Boolean (default = false)

Returns
IFocusManagerComponent — A IFocusManagerComponent that can accept focus.
hasField()method 
public function hasField(column:String):Boolean

Returns true if the container has a filter control that is bound to the specified column.

Parameters

column:String

Returns
Boolean
onFilterControlRemoved()method 
protected function onFilterControlRemoved(event:Event):void

Parameters

event:Event

onFilterControlRemovedParent()method 
protected function onFilterControlRemovedParent(event:Event):void

Parameters

event:Event

redraw()method 
override public function redraw():void

Calls the refresh method on each of the renderers.

registerIFilterControl()method 
public function registerIFilterControl(iFilterControl:IFilterControl):void

Registers the IFilter control in our list.

Parameters

iFilterControl:IFilterControl — A control that implements IFilterControl

setFilterFocus()method 
public function setFilterFocus(fld:String):Boolean

Parameters

fld:String — The string to match the searchField property of the filter control with.

Returns
Boolean — True if focus was set, false if otherwise. Focus may not be set if the given search field does not exist, or if the filter control for the given search field does not implement IFocusManagerComponent.
setFilterValue()method 
public function setFilterValue(column:String, value:Object):void

Used to set the initial value of the filter.

Parameters

column:String — The column to set filter for
 
value:Object — The value to set

setFocusOnNextFocusableControl()method 
public function setFocusOnNextFocusableControl(myIndex:int, forward:Boolean, inclusive:Boolean = false):Boolean

Sets the focus on the next focusable filter control starting at myIndex, proceeding in forward or backward direction based on the forward parameter

Parameters

myIndex:int — The index to start searching at
 
forward:Boolean — Direction to search in.
 
inclusive:Boolean (default = false)

Returns
Boolean — A IFocusManagerComponent that can accept focus.
unRegisterIFilterControl()method 
public function unRegisterIFilterControl(iFilterControl:IFilterControl):void

Registers the IFilter control in our list.

Parameters

iFilterControl:IFilterControl — A control that implements IFilterControl