Package | com.flexicious.controls |
Class | public class DateField |
Inheritance | DateField ![]() |
Implements | IDateDataBoundControl |
See also
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
clear():void | DateField | ||
getValue():Object
Generic function that returns the value of a IFilterControl
| DateField | ||
setSourceFromControl():void | DateField | ||
setupInputMask():void
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 |
Method | Defined By | ||
---|---|---|---|
createChildren():void [override] | DateField | ||
maskLabelFunction(val:Date):String | DateField | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | DateField |
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
inputCharValidFunction | property |
public var inputCharValidFunction:Function = null
Wire this up where you need character by character validation of entered text.
inputMask | property |
inputMask:String
Input mask for the text input
public function get inputMask():String
public function set inputMask(value:String):void
inputMaskDelimiters | property |
public var inputMaskDelimiters:String = /,(,),-
A comma seperated list of characters that should be treated as literal characters for input mask purposes. Defaults to /,(,),-
inputMaskForceLength | property |
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
text | property |
text:String
[write-only] [override] public function set text(value:String):void
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
ReturnsObject |
maskLabelFunction | () | method |
protected function maskLabelFunction(val:Date):String
Parameters
val:Date |
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 |