Packagecom.flexicious.controls
Classpublic class DateComboBox
InheritanceDateComboBox Inheritance ComboBox Inheritance mx.controls.ComboBox
Implements IDateComboBox, IRangeFilterControl

A ComboBox that implements IRangeFilterControl (IFilterControl) which enables it to be used within the filtering/binding infrasturcture.

Default MXML PropertydataProvider

See also

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


Public Properties
 PropertyDefined By
 InheritedaddAllItem : 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
 InheritedaddAllItemText : String
Text of the "All" item.
ComboBox
 InheritedautoRegister : Boolean
Register with the container on creation complete
ComboBox
 InheritedbindingTriggerEvent : String
The event to trigger the binding on.
ComboBox
  customDateChosen : Boolean
DateComboBox
  customDateRange : DateRange
DateComboBox
 InheriteddataField : String
For Selected Value Support
ComboBox
 InheriteddataProvider : 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
 InheritedfilterComparisionType : String
This is usually automatically set, you don't have to manually set it, unless you're sending strings as Date objects.
ComboBox
 InheritedfilterOperation : String
The filter operation to apply to the comparison See the FilterExpression class for a list.
ComboBox
 InheritedfilterTriggerEvent : String
The event that the filter triggers on.
ComboBox
 Inheritedgrid : IExtendedDataGrid
The grid that the filter belongs to - can be null if filter is used outside the grid
ComboBox
 InheritedgridColumn : IDataGridFilterColumn
The grid column that the filter belongs to - can be null if filter is used outside the grid
ComboBox
 InheritedhasSearch : Boolean
ComboBox
  maxValue : Object
[read-only] Maximum value for the date picker
DateComboBox
  minValue : Object
[read-only] Minimum value for the date picker
DateComboBox
 InheritedrendererStyleName : String
ComboBox
 InheritedrowHeight : Number
Height of the dropdown
ComboBox
 InheritedsearchField : 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
 InheritedselectedIndex : int
[override] [write-only]
ComboBox
 InheritedselectedValue : 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
Protected Properties
 PropertyDefined By
 Inherited_filterControlInterface : FilterControlImpl
ComboBox
  _popup : IFlexDisplayObject
DateComboBox
Public Methods
 MethodDefined By
  
DateComboBox
 Inherited
ComboBox
 Inherited
clear():void
ComboBox
  
getValue():Object
[override] Generic function that returns the value of a IFilterControl
DateComboBox
  
open():void
[override]
DateComboBox
  
DateComboBox
 Inherited
ComboBox
  
setValue(val:Object):void
[override] Generic function that sets the value of a IFilterControl
DateComboBox
Protected Methods
 MethodDefined By
 Inherited
[override] http://bugs.adobe.com/jira/browse/SDK-16727
ComboBox
 Inherited
[override]
ComboBox
  
downArrowButton_buttonDownHandler(event:FlexEvent):void
[override]
DateComboBox
  
keyDownHandler(event:KeyboardEvent):void
[override]
DateComboBox
  
onDropdownOpen(event:DropdownEvent):void
DateComboBox
Styles
 Style Description Defined By
  
useModuleFactory
Type: Boolean
A flag that asks the date combobox to use show the actual date range when the user chooses "Custom" and a custom date range is specified
DateComboBox
Property Detail
_popupproperty
protected var _popup:IFlexDisplayObject

customDateChosenproperty 
customDateChosen:Boolean


Implementation
    public function get customDateChosen():Boolean
    public function set customDateChosen(value:Boolean):void
customDateRangeproperty 
public var customDateRange:DateRange

dateFormatStringproperty 
dateFormatString:String  [read-only]

Date format for the custom date range popup

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


Implementation
    public function get dateFormatString():String
dateRangeproperty 
dateRange:DateRange

The selected date range

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


Implementation
    public function get dateRange():DateRange
    public function set dateRange(value:DateRange):void
dateRangeOptionsproperty 
dateRangeOptions:Array

An array of DateRange.DATE_RANGE_constants.


Implementation
    public function get dateRangeOptions():Array
    public function set dateRangeOptions(value:Array):void
defaultDateRangeForDatePickerproperty 
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.


Implementation
    public function get defaultDateRangeForDatePicker():String
maxValueproperty 
maxValue:Object  [read-only]

Maximum value for the date picker


Implementation
    public function get maxValue():Object
minValueproperty 
minValue:Object  [read-only]

Minimum value for the date picker


Implementation
    public function get minValue():Object
searchRangeEndproperty 
searchRangeEnd:Object  [read-only]

The calculated date range end


Implementation
    public function get searchRangeEnd():Object
searchRangeStartproperty 
searchRangeStart:Object  [read-only]

The calculated date range start


Implementation
    public function get searchRangeStart():Object
showTimePickerproperty 
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.


Implementation
    public function get showTimePicker():Boolean
useModuleFactoryproperty 
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


Implementation
    public function get useModuleFactory():Boolean
    public function set useModuleFactory(value:Boolean):void
Constructor Detail
DateComboBox()Constructor
public function DateComboBox()



Method Detail
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

Returns
Object
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