Packagecom.flextoolbox.controls.listClasses
Classpublic class CheckBoxListItemRenderer
InheritanceCheckBoxListItemRenderer Inheritance mx.core.UIComponent
Implementsmx.controls.listClasses.IDropInListItemRenderer, mx.controls.listClasses.IListItemRenderer

The CheckBoxListItemRenderer class defines an item renderer that displays selection through a CheckBox for a List control. By default, the item renderer draws the text associated with each item in the list, and an optional icon.

You can override the default item renderer by creating a custom item renderer.

See also

mx.controls.List
mx.controls.listClasses.IDropInListItemRenderer


Public Properties
 PropertyDefined by
  data : Object
The implementation of the data property as defined by the IDataRenderer interface.
CheckBoxListItemRenderer
  enabled : Boolean
[write-only]
CheckBoxListItemRenderer
  listData : BaseListData
The implementation of the listData property as defined by the IDropInListItemRenderer interface.
CheckBoxListItemRenderer
Protected Properties
 PropertyDefined by
  checkBox : CheckBox
CheckBoxListItemRenderer
  icon : IFlexDisplayObject
The internal IFlexDisplayObject that displays the icon in this renderer.
CheckBoxListItemRenderer
Public Methods
 MethodDefined by
  
Constructor.
CheckBoxListItemRenderer
Events
 EventSummaryDefined by
   Dispatched when the data property changes.CheckBoxListItemRenderer
Property detail
checkBoxproperty
protected var checkBox:CheckBox
dataproperty 
data:Object  [read-write]

The implementation of the data property as defined by the IDataRenderer interface. When set, it stores the value and invalidates the component to trigger a relayout of the component.

This property can be used as the source for data binding.

Implementation
    public function get data():Object
    public function set data(value:Object):void

See also

mx.core.IDataRenderer
enabledproperty 
enabled:Boolean  [write-only]Implementation
    public function set enabled(value:Boolean):void
iconproperty 
protected var icon:IFlexDisplayObject

The internal IFlexDisplayObject that displays the icon in this renderer.

listDataproperty 
listData:BaseListData  [read-write]

The implementation of the listData property as defined by the IDropInListItemRenderer interface.

Implementation
    public function get listData():BaseListData
    public function set listData(value:BaseListData):void

See also

mx.controls.listClasses.IDropInListItemRenderer
Constructor detail
CheckBoxListItemRenderer()constructor
public function CheckBoxListItemRenderer()

Constructor.

Event detail
dataChangeevent 
Event object type: mx.events.FlexEvent

Dispatched when the data property changes.

When you use a component as an item renderer, the data property contains the data to display. You can listen for this event and update the component when the data property changes.