| Package | com.flexicious.controls | 
| Class | public class CheckBoxTileList | 
| Inheritance | CheckBoxTileList    mx.controls.TileList | 
| Implements | IMultiSelectFilterControl, IMultiSelectDataBoundControl, ICheckBoxList | 
Default MXML PropertydataProvider
See also
| Property | Defined By | ||
|---|---|---|---|
| addAllItem : Boolean 
 Flag, when set will cause the associated control to have
 an Filter.ALL_ITEM Item value, which can then be used by the filtering
 infrastructure to ignore the column in the search
   | CheckBoxTileList | ||
| addAllItemText : String 
 Text of the "All" item.  | CheckBoxTileList | ||
| autoRegister : Boolean 
 Register with the container on creation complete 
   | CheckBoxTileList | ||
| bindingTriggerEvent : String 
   The event to trigger the binding on.  | CheckBoxTileList | ||
| dataField : String 
 For Selected Value Support
   | CheckBoxTileList | ||
| dropdownWidth : Number 
 Width of the dropdown 
   | CheckBoxTileList | ||
| filterComparisionType : String 
 This is usually automatically set, you don't have to manually set it,
 unless you're sending strings as Date objects.  | CheckBoxTileList | ||
| filterOperation : String 
 The filter operation to apply to the comparison
 See the FilterExpression class for a list.  | CheckBoxTileList | ||
| filterTriggerEvent : String 
 The event that the filter triggers on.  | CheckBoxTileList | ||
| grid : IExtendedDataGrid 
 The grid that the filter belongs to - can be null
 if filter is used outside the grid 
   | CheckBoxTileList | ||
| gridColumn : IDataGridFilterColumn 
 The grid column that the filter belongs to - can be null
 if filter is used outside the grid 
   | CheckBoxTileList | ||
| hasSearch : Boolean | CheckBoxTileList | ||
| isAllSelected : Boolean [read-only] 
 Returns true if the all item is selected 
 false otherwise 
   | CheckBoxTileList | ||
| rendererStyleName : String | CheckBoxTileList | ||
| searchField : String 
 The field to search on, usually same as the data field.  | CheckBoxTileList | ||
| selectedValues : ArrayCollection 
 Gets the selected values on our list control.  | CheckBoxTileList | ||
| toolTipFunction : Function 
 ooltip to show on each of the checkboxes.  | CheckBoxTileList | ||
| useTriState : Boolean 
 Flag that indicates that checking any of the boxes in the 
 list is going to cause the first "All" box to turn into middle state
 Checking the first box will cause everything to be selected, unchecking
 the first box is going to cause everything to be not selected.  | CheckBoxTileList | ||
| Property | Defined By | ||
|---|---|---|---|
| _filterControlInterface : FilterControlImpl | CheckBoxTileList | ||
| Method | Defined By | ||
|---|---|---|---|
clear():void 
 lears the selected indexes and items 
 
   | CheckBoxTileList | ||
| CheckBoxTileList | |||
convertToArray(items:Object):Array  | CheckBoxTileList | ||
getItemIndex(item:Object):int 
 Gets the position at which specified item exists in the dataprovider.  | CheckBoxTileList | ||
getTooltip(obj:Object):String 
 If tooltip function is specified, returns the result
 of that function.  | CheckBoxTileList | ||
getValue():Object 
 Generic function that returns the value of a IFilterControl
 See the docs for the selectedValues property
   | CheckBoxTileList | ||
setSourceFromControl():void  | CheckBoxTileList | ||
setValue(val:Object):void 
 Generic function that sets the value of a IFilterControl.  | CheckBoxTileList | ||
| Method | Defined By | ||
|---|---|---|---|
drawItem(item:IListItemRenderer, selected:Boolean = false, highlighted:Boolean = false, caret:Boolean = false, transition:Boolean = false):void [override]   | CheckBoxTileList | ||
drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void [override]   | CheckBoxTileList | ||
keyDownHandler(event:KeyboardEvent):void [override]   | CheckBoxTileList | ||
onItemClick(event:ListEvent):void  | CheckBoxTileList | ||
| _filterControlInterface | property | 
protected var _filterControlInterface:FilterControlImpl| addAllItem | property | 
addAllItem:BooleanFlag, when set will cause the associated control to have an Filter.ALL_ITEM Item value, which can then be used by the filtering infrastructure to ignore the column in the search
    public function get addAllItem():Boolean    public function set addAllItem(value:Boolean):void| addAllItemText | property | 
addAllItemText:StringText of the "All" item. Defaults to "All"
    public function get addAllItemText():String    public function set addAllItemText(value:String):void| autoRegister | property | 
autoRegister:BooleanRegister with the container on creation complete
    public function get autoRegister():Boolean    public function set autoRegister(value:Boolean):void| bindingTriggerEvent | property | 
bindingTriggerEvent:StringThe event to trigger the binding on. Defaults to none, so you must call applyChanges on the container to update the souce object.
    public function get bindingTriggerEvent():String    public function set bindingTriggerEvent(value:String):void| dataField | property | 
dataField:StringFor Selected Value Support
    public function get dataField():String    public function set dataField(value:String):void| dropdownWidth | property | 
dropdownWidth:NumberWidth of the dropdown
    public function get dropdownWidth():Number    public function set dropdownWidth(value:Number):void| filterComparisionType | property | 
filterComparisionType:StringThis 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.
    public function get filterComparisionType():String    public function set filterComparisionType(value:String):void| filterOperation | property | 
filterOperation:StringThe 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
    public function get filterOperation():String    public function set filterOperation(value:String):void| filterTriggerEvent | property | 
filterTriggerEvent:StringThe event that the filter triggers on. Defaults to "change", or if the filterRenderer supports com.flexicious.controls.interfaces.IDelayedChange, then the delayedChange event.
    public function get filterTriggerEvent():String    public function set filterTriggerEvent(value:String):voidSee also
| grid | property | 
grid:IExtendedDataGridThe grid that the filter belongs to - can be null if filter is used outside the grid
    public function get grid():IExtendedDataGrid    public function set grid(value:IExtendedDataGrid):void| gridColumn | property | 
gridColumn:IDataGridFilterColumnThe grid column that the filter belongs to - can be null if filter is used outside the grid
    public function get gridColumn():IDataGridFilterColumn    public function set gridColumn(value:IDataGridFilterColumn):void| hasSearch | property | 
hasSearch:Boolean    public function get hasSearch():Boolean    public function set hasSearch(value:Boolean):void| isAllSelected | property | 
isAllSelected:Boolean  [read-only] Returns true if the all item is selected false otherwise
    public function get isAllSelected():Boolean| rendererStyleName | property | 
public var rendererStyleName:String| searchField | property | 
searchField:StringThe field to search on, usually same as the data field.
    public function get searchField():String    public function set searchField(value:String):void| selectedValues | property | 
selectedValues:ArrayCollectionGets the selected values on our list control. This returns a ArrayCollection. Basically goes through all the selected items, gets a list of all selected items, gets the "dataField" property on the selectedItems, and returns a list. Needs the datafield property to be set.
    public function get selectedValues():ArrayCollection    public function set selectedValues(value:ArrayCollection):void| toolTipFunction | property | 
public var toolTipFunction:Functionooltip to show on each of the checkboxes.
| useTriState | property | 
useTriState:BooleanFlag that indicates that checking any of the boxes in the list is going to cause the first "All" box to turn into middle state Checking the first box will cause everything to be selected, unchecking the first box is going to cause everything to be not selected. Please note, unless you set addAllItem to true, this flag will be meaningless and false.
    public function get useTriState():Boolean    public function set useTriState(value:Boolean):void| clear | () | method | 
 public function clear():voidlears the selected indexes and items
| commitPropertiesSelectedValues | () | method | 
 public function commitPropertiesSelectedValues():void| convertToArray | () | method | 
 public function convertToArray(items:Object):ArrayParameters
items:Object | 
Array | 
| drawItem | () | method | 
override protected function drawItem(item:IListItemRenderer, selected:Boolean = false, highlighted:Boolean = false, caret:Boolean = false, transition:Boolean = false):voidParameters
item:IListItemRenderer | |
selected:Boolean (default = false) | |
highlighted:Boolean (default = false) | |
caret:Boolean (default = false) | |
transition:Boolean (default = false) | 
| drawSelectionIndicator | () | method | 
override protected function drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):voidParameters
indicator:Sprite | |
x:Number | |
y:Number | |
width:Number | |
height:Number | |
color:uint | |
itemRenderer:IListItemRenderer | 
| getItemIndex | () | method | 
 public function getItemIndex(item:Object):intGets the position at which specified item exists in the dataprovider.
Parameters
item:Object | 
int — 
 
  | 
| getTooltip | () | method | 
 public function getTooltip(obj:Object):StringIf tooltip function is specified, returns the result of that function.
Parameters
obj:Object | 
String | 
| getValue | () | method | 
 public function getValue():ObjectGeneric function that returns the value of a IFilterControl See the docs for the selectedValues property
ReturnsObject | 
| keyDownHandler | () | method | 
override protected function keyDownHandler(event:KeyboardEvent):voidParameters
event:KeyboardEvent | 
| onItemClick | () | method | 
 protected function onItemClick(event:ListEvent):voidParameters
event:ListEvent | 
| setSourceFromControl | () | method | 
 public function setSourceFromControl():void| setValue | () | method | 
 public function setValue(val:Object):voidGeneric function that sets the value of a IFilterControl.
Parameters
val:Object |