Package | com.flexicious.controls |
Class | public class DateComboBox |
Inheritance | DateComboBox ComboBox mx.controls.ComboBox |
Implements | IDateComboBox, IRangeFilterControl |
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 | ||
customDateChosen : Boolean | DateComboBox | ||
customDateRange : DateRange | DateComboBox | ||
dataField : String
For Selected Value Support
| ComboBox | ||
dataProvider : Object [override] [write-only] | ComboBox | ||
dateFormatString : String [read-only]
Date format for the custom date range popup
| DateComboBox | ||
dateRange : DateRange
The selected date range
| DateComboBox | ||
dateRangeOptions : Array
An array of DateRange.DATE_RANGE_constants. | DateComboBox | ||
defaultDateRangeForDatePicker : String [read-only]
One of the DateRange constants, defines the default date range for the when the user clicks on the custom date range. | DateComboBox | ||
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 | ||
maxValue : Object [read-only]
Maximum value for the date picker
| DateComboBox | ||
minValue : Object [read-only]
Minimum value for the date picker
| DateComboBox | ||
rendererStyleName : String | ComboBox | ||
rowHeight : Number
Height of the dropdown
| ComboBox | ||
searchField : String
The field to search on, usually same as the data field. | ComboBox | ||
searchRangeEnd : Object [read-only]
The calculated date range end
| DateComboBox | ||
searchRangeStart : Object [read-only]
The calculated date range start
| DateComboBox | ||
selectedIndex : int [override] [write-only] | ComboBox | ||
selectedValue : Object
Gets the selected value on our comboboxes. | ComboBox | ||
showTimePicker : Boolean [read-only]
Boolean flag to control the visibility of the time picker component when the user chooses to pick a custom date. | DateComboBox | ||
useModuleFactory : Boolean
Flag that indicates to use the module factory of the grid to show popups. | DateComboBox |
Property | Defined By | ||
---|---|---|---|
_filterControlInterface : FilterControlImpl | ComboBox | ||
_popup : IFlexDisplayObject | DateComboBox |
Method | Defined By | ||
---|---|---|---|
DateComboBox | |||
callCalculatePreferredSizeFromData(count:int):Object | ComboBox | ||
clear():void | ComboBox | ||
getValue():Object [override]
Generic function that returns the value of a IFilterControl
| DateComboBox | ||
open():void [override] | DateComboBox | ||
revertToPrevious():void | DateComboBox | ||
setSourceFromControl():void | ComboBox | ||
setValue(val:Object):void [override]
Generic function that sets the value of a IFilterControl
| DateComboBox |
Method | Defined By | ||
---|---|---|---|
calculatePreferredSizeFromData(count:int):Object [override]
http://bugs.adobe.com/jira/browse/SDK-16727
| ComboBox | ||
commitProperties():void [override] | ComboBox | ||
downArrowButton_buttonDownHandler(event:FlexEvent):void [override] | DateComboBox | ||
keyDownHandler(event:KeyboardEvent):void [override] | DateComboBox | ||
onDropdownOpen(event:DropdownEvent):void | DateComboBox |
_popup | property |
protected var _popup:IFlexDisplayObject
customDateChosen | property |
customDateChosen:Boolean
public function get customDateChosen():Boolean
public function set customDateChosen(value:Boolean):void
customDateRange | property |
public var customDateRange:DateRange
dateFormatString | property |
dateFormatString:String
[read-only] Date format for the custom date range popup
This property can be used as the source for data binding.
public function get dateFormatString():String
dateRange | property |
dateRange:DateRange
The selected date range
This property can be used as the source for data binding.
public function get dateRange():DateRange
public function set dateRange(value:DateRange):void
dateRangeOptions | property |
dateRangeOptions:Array
An array of DateRange.DATE_RANGE_constants.
public function get dateRangeOptions():Array
public function set dateRangeOptions(value:Array):void
defaultDateRangeForDatePicker | property |
defaultDateRangeForDatePicker:String
[read-only] One of the DateRange constants, defines the default date range for the when the user clicks on the custom date range. Defaults to last DATE_RANGE_LAST_7_DAYS
This property can be used as the source for data binding.
public function get defaultDateRangeForDatePicker():String
maxValue | property |
maxValue:Object
[read-only] Maximum value for the date picker
public function get maxValue():Object
minValue | property |
minValue:Object
[read-only] Minimum value for the date picker
public function get minValue():Object
searchRangeEnd | property |
searchRangeEnd:Object
[read-only] The calculated date range end
public function get searchRangeEnd():Object
searchRangeStart | property |
searchRangeStart:Object
[read-only] The calculated date range start
public function get searchRangeStart():Object
showTimePicker | property |
showTimePicker:Boolean
[read-only] Boolean flag to control the visibility of the time picker component when the user chooses to pick a custom date.
This property can be used as the source for data binding.
public function get showTimePicker():Boolean
useModuleFactory | property |
useModuleFactory:Boolean
Flag that indicates to use the module factory of the grid to show popups. Use this when you are using modules and your parent application is not under your control. Please note, you will still need to ensure that the parent application imports PopupManager. http://bugs.adobe.com/jira/browse/SDK-873
public function get useModuleFactory():Boolean
public function set useModuleFactory(value:Boolean):void
DateComboBox | () | Constructor |
public function DateComboBox()
downArrowButton_buttonDownHandler | () | method |
override protected function downArrowButton_buttonDownHandler(event:FlexEvent):void
Parameters
event:FlexEvent |
getValue | () | method |
override public function getValue():Object
Generic function that returns the value of a IFilterControl
ReturnsObject |
keyDownHandler | () | method |
override protected function keyDownHandler(event:KeyboardEvent):void
Parameters
event:KeyboardEvent |
onDropdownOpen | () | method |
protected function onDropdownOpen(event:DropdownEvent):void
Parameters
event:DropdownEvent |
open | () | method |
override public function open():void
revertToPrevious | () | method |
public function revertToPrevious():void
setValue | () | method |
override public function setValue(val:Object):void
Generic function that sets the value of a IFilterControl
Parameters
val:Object |