Packagecom.flexicious.controls
Classpublic class DateField
InheritanceDateField Inheritance mx.controls.DateField
Implements IDateDataBoundControl

A DateField that implements ITextFilterControl (IFilterControl) and ITextDataBoundControl (IDataBoundControl) which enables it to be used within the filtering/binding infrasturcture.

See also

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


Public Properties
 PropertyDefined By
  bindingTriggerEvent : String
The event to trigger the binding on.
DateField
  inputCharValidFunction : Function = null
Wire this up where you need character by character validation of entered text.
DateField
  inputMask : String
Input mask for the text input
DateField
  inputMaskDelimiters : String = /,(,),-
A comma seperated list of characters that should be treated as literal characters for input mask purposes.
DateField
  inputMaskForceLength : Boolean = true
Does not allow user to add more characters than those specified by the mask.
DateField
  text : String
[override] [write-only]
DateField
Public Methods
 MethodDefined By
  
clear():void
DateField
  
getValue():Object
Generic function that returns the value of a IFilterControl
DateField
  
DateField
  
If you set the inputMask after creation complete, call this function.
DateField
  
setValue(val:Object):void
Generic function that sets the value of a IFilterControl
DateField
Protected Methods
 MethodDefined By
  
[override]
DateField
  
maskLabelFunction(val:Date):String
DateField
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
DateField
Property Detail
bindingTriggerEventproperty
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.


Implementation
    public function get bindingTriggerEvent():String
    public function set bindingTriggerEvent(value:String):void
inputCharValidFunctionproperty 
public var inputCharValidFunction:Function = null

Wire this up where you need character by character validation of entered text.

inputMaskproperty 
inputMask:String

Input mask for the text input


Implementation
    public function get inputMask():String
    public function set inputMask(value:String):void
inputMaskDelimitersproperty 
public var inputMaskDelimiters:String = /,(,),-

A comma seperated list of characters that should be treated as literal characters for input mask purposes. Defaults to /,(,),-

inputMaskForceLengthproperty 
public var inputMaskForceLength:Boolean = true

Does not allow user to add more characters than those specified by the mask. Set to true for date type masks, and false for telephone type masks where you would want the user to be able to enter an extension. Defaults to true

textproperty 
text:String  [write-only] [override]


Implementation
    public function set text(value:String):void
Method Detail
clear()method
public function clear():void

createChildren()method 
override protected function createChildren():void

getValue()method 
public function getValue():Object

Generic function that returns the value of a IFilterControl

Returns
Object
maskLabelFunction()method 
protected function maskLabelFunction(val:Date):String

Parameters

val:Date

Returns
String
setSourceFromControl()method 
public function setSourceFromControl():void

setupInputMask()method 
public function setupInputMask():void

If you set the inputMask after creation complete, call this function.

setValue()method 
public function setValue(val:Object):void

Generic function that sets the value of a IFilterControl

Parameters

val:Object

updateDisplayList()method 
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number