Package | com.flexicious.controls |
Class | public class ComboBox |
Inheritance | ComboBox ![]() |
Implements | ISingleSelectFilterControl, ISingleSelectDataBoundControl |
Subclasses | DateComboBox |
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
| ComboBox | ||
addAllItemText : String
Text of the "All" item. | ComboBox | ||
autoRegister : Boolean
Register with the container on creation complete
| ComboBox | ||
bindingTriggerEvent : String
The event to trigger the binding on. | ComboBox | ||
dataField : String
For Selected Value Support
| ComboBox | ||
dataProvider : Object [override] [write-only] | ComboBox | ||
filterComparisionType : String
This is usually automatically set, you don't have to manually set it,
unless you're sending strings as Date objects. | ComboBox | ||
filterOperation : String
The filter operation to apply to the comparison
See the FilterExpression class for a list. | ComboBox | ||
filterTriggerEvent : String
The event that the filter triggers on. | ComboBox | ||
grid : IExtendedDataGrid
The grid that the filter belongs to - can be null
if filter is used outside the grid
| ComboBox | ||
gridColumn : IDataGridFilterColumn
The grid column that the filter belongs to - can be null
if filter is used outside the grid
| ComboBox | ||
hasSearch : Boolean | ComboBox | ||
rendererStyleName : String | ComboBox | ||
rowHeight : Number
Height of the dropdown
| ComboBox | ||
searchField : String
The field to search on, usually same as the data field. | ComboBox | ||
selectedIndex : int [override] [write-only] | ComboBox | ||
selectedValue : Object
Gets the selected value on our comboboxes. | ComboBox |
Property | Defined By | ||
---|---|---|---|
_filterControlInterface : FilterControlImpl | ComboBox |
Method | Defined By | ||
---|---|---|---|
ComboBox() | ComboBox | ||
callCalculatePreferredSizeFromData(count:int):Object | ComboBox | ||
clear():void | ComboBox | ||
getValue():Object
Generic function that returns the value of a IFilterControl
| ComboBox | ||
setSourceFromControl():void | ComboBox | ||
setValue(val:Object):void
Generic function that sets the value of a IFilterControl
| ComboBox |
Method | Defined By | ||
---|---|---|---|
calculatePreferredSizeFromData(count:int):Object [override]
http://bugs.adobe.com/jira/browse/SDK-16727
| ComboBox | ||
commitProperties():void [override] | ComboBox |
_filterControlInterface | property |
protected var _filterControlInterface:FilterControlImpl
addAllItem | property |
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
public function get addAllItem():Boolean
public function set addAllItem(value:Boolean):void
addAllItemText | property |
addAllItemText:String
Text of the "All" item. Defaults to "All"
public function get addAllItemText():String
public function set addAllItemText(value:String):void
autoRegister | property |
autoRegister:Boolean
Register with the container on creation complete
public function get autoRegister():Boolean
public function set autoRegister(value:Boolean):void
bindingTriggerEvent | property |
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.
public function get bindingTriggerEvent():String
public function set bindingTriggerEvent(value:String):void
dataField | property |
dataField:String
For Selected Value Support
public function get dataField():String
public function set dataField(value:String):void
dataProvider | property |
dataProvider:Object
[write-only] [override] public function set dataProvider(value:Object):void
filterComparisionType | property |
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
.
public function get filterComparisionType():String
public function set filterComparisionType(value:String):void
filterOperation | property |
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
public function get filterOperation():String
public function set filterOperation(value:String):void
filterTriggerEvent | property |
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.
public function get filterTriggerEvent():String
public function set filterTriggerEvent(value:String):void
See also
grid | property |
grid:IExtendedDataGrid
The 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:IDataGridFilterColumn
The 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
rendererStyleName | property |
public var rendererStyleName:String
rowHeight | property |
rowHeight:Number
Height of the dropdown
public function get rowHeight():Number
public function set rowHeight(value:Number):void
searchField | property |
searchField:String
The field to search on, usually same as the data field.
public function get searchField():String
public function set searchField(value:String):void
selectedIndex | property |
selectedIndex:int
[write-only] [override] public function set selectedIndex(value:int):void
selectedValue | property |
selectedValue:Object
Gets the selected value on our comboboxes. Just like the selected label, but applies to the data property. Needs the datafield property to be set.
public function get selectedValue():Object
public function set selectedValue(value:Object):void
ComboBox | () | Constructor |
public function ComboBox()
calculatePreferredSizeFromData | () | method |
override protected function calculatePreferredSizeFromData(count:int):Object
http://bugs.adobe.com/jira/browse/SDK-16727
Parameters
count:int |
Object |
callCalculatePreferredSizeFromData | () | method |
public function callCalculatePreferredSizeFromData(count:int):Object
Parameters
count:int |
Object |
clear | () | method |
public function clear():void
commitProperties | () | method |
override protected function commitProperties():void
getValue | () | method |
public function getValue():Object
Generic function that returns the value of a IFilterControl
ReturnsObject |
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 |