Packagecom.flexicious.controls
Classpublic class CheckBox
InheritanceCheckBox Inheritance mx.controls.CheckBox
Implements ISelectedBitFilterControl, ISelectedBitDataBoundControl
Subclasses TriStateCheckBox

A checkbox that implements ISelectedBitFilterControl (IFilterControl) and ISelectedBitDataBoundControl (IDataBoundControl) which enables it to be used within the filtering/binding infrasturcture.

See also

com.flexicious.controls.interfaces.filters.IFilterControl
com.flexicious.controls.interfaces.databindings.IDataBoundControl


Public Properties
 PropertyDefined By
  autoRegister : Boolean
Register with the container on creation complete
CheckBox
  bindingTriggerEvent : String
The event to trigger the binding on.
CheckBox
  filterComparisionType : String
This is usually automatically set, you don't have to manually set it, unless you're sending strings as Date objects.
CheckBox
  filterOperation : String
The filter operation to apply to the comparison See the FilterExpression class for a list.
CheckBox
  filterTriggerEvent : String
The event that the filter triggers on.
CheckBox
  grid : IExtendedDataGrid
The grid that the filter belongs to - can be null if filter is used outside the grid
CheckBox
  gridColumn : IDataGridFilterColumn
The grid column that the filter belongs to - can be null if filter is used outside the grid
CheckBox
  rendererStyleName : String
CheckBox
  searchField : String
The field to search on, usually same as the data field.
CheckBox
Protected Properties
 PropertyDefined By
  _filterControlInterface : FilterControlImpl
CheckBox
Public Methods
 MethodDefined By
  
clear():void
lears the state of the checkbox
CheckBox
  
getValue():Object
Generic function that returns the value of a IFilterControl Returns this.selected for the CheckBox
CheckBox
  
CheckBox
  
setValue(val:Object):void
Generic function that sets the value of a IFilterControl
CheckBox
Protected Methods
 MethodDefined By
  
[override]
CheckBox
Styles
 Style Description Defined By
  
iconTop
Type: int
Where to place the icon
CheckBox
  
labelTop
Type: int
Where to place the label
CheckBox
Property Detail
_filterControlInterfaceproperty
protected var _filterControlInterface:FilterControlImpl

autoRegisterproperty 
autoRegister:Boolean

Register with the container on creation complete


Implementation
    public function get autoRegister():Boolean
    public function set autoRegister(value:Boolean):void
bindingTriggerEventproperty 
bindingTriggerEvent:String

The event to trigger the binding on. Defaults to none, so you must call applyChanges on the container to update the souce object.


Implementation
    public function get bindingTriggerEvent():String
    public function set bindingTriggerEvent(value:String):void
filterComparisionTypeproperty 
filterComparisionType:String

This is usually automatically set, you don't have to manually set it, unless you're sending strings as Date objects. When set, will attempt to first convert the current value to the type you specified and then do the conversion. Values : auto,string,number,boolean,date

The default value is auto.


Implementation
    public function get filterComparisionType():String
    public function set filterComparisionType(value:String):void
filterOperationproperty 
filterOperation:String

The filter operation to apply to the comparison See the FilterExpression class for a list. Please note, for CheckBoxList and MultiSelectComboBox, this field defaults to "InList" and is ignored when set. see


Implementation
    public function get filterOperation():String
    public function set filterOperation(value:String):void
filterTriggerEventproperty 
filterTriggerEvent:String

The event that the filter triggers on. Defaults to "change", or if the filterRenderer supports com.flexicious.controls.interfaces.IDelayedChange, then the delayedChange event.


Implementation
    public function get filterTriggerEvent():String
    public function set filterTriggerEvent(value:String):void

See also

gridproperty 
grid:IExtendedDataGrid

The grid that the filter belongs to - can be null if filter is used outside the grid


Implementation
    public function get grid():IExtendedDataGrid
    public function set grid(value:IExtendedDataGrid):void
gridColumnproperty 
gridColumn:IDataGridFilterColumn

The grid column that the filter belongs to - can be null if filter is used outside the grid


Implementation
    public function get gridColumn():IDataGridFilterColumn
    public function set gridColumn(value:IDataGridFilterColumn):void
rendererStyleNameproperty 
public var rendererStyleName:String

searchFieldproperty 
searchField:String

The field to search on, usually same as the data field.


Implementation
    public function get searchField():String
    public function set searchField(value:String):void
Method Detail
clear()method
public function clear():void

lears the state of the checkbox

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

getValue()method 
public function getValue():Object

Generic function that returns the value of a IFilterControl Returns this.selected for the CheckBox

Returns
Object
setSourceFromControl()method 
public function setSourceFromControl():void

setValue()method 
public function setValue(val:Object):void

Generic function that sets the value of a IFilterControl

Parameters

val:Object