Packagecom.flexicious.controls
Classpublic class NumericTextInput
InheritanceNumericTextInput Inheritance TextInput Inheritance mx.controls.TextInput
Implements IDynamicFilterControl

A class that extends Text Input, but returns filter expressions where the value is always an integer instead of text. Restricts the input to integers.



Public Properties
 PropertyDefined By
 InheritedautoCompleteDataField : String
The dataField value associated with autocomplete dropdown.
TextInput
 InheritedautoCompleteItemRenderer : IFactory
Class factory for the dropdown item renderer.
TextInput
 InheritedautoCompleteLabelField : String
The labelField value associated with autocomplete dropdown.
TextInput
 InheritedautoCompleteLabelFunction : Function
The labelFunction for the autocomplete dropdown
TextInput
 InheritedautoCompleteList : AutoCompleteList
The actual autocomplete component.
TextInput
 InheritedautoCompleteMatchType : String
Type of the match to filter items.
TextInput
 InheritedautoCompleteRowCount : int
RowCount for the autocomplete dropdown.
TextInput
 InheritedautoCompleteSource : ICollectionView
The source for the autocomplete dropdown.
TextInput
 InheritedautoCompleteWidth : Number
Width of the autocomplete dropdown.
TextInput
 InheritedautoRegister : Boolean
Register with the container on creation complete
TextInput
 InheritedbindingTriggerEvent : String
The event to trigger the binding on.
TextInput
 InheritedclearTextOnIconClick : Boolean = false
If you specify an Icon Style, setting this variable to true will clear the text on icon click.
TextInput
 InheriteddelayDuration : uint = 500
The amount of time (in milliseconds) to wait before dispatching the DELAY_CHANGE event.
TextInput
 InheritedenableAutoComplete : Boolean
Enables autocomplete behavior.
TextInput
 InheritedenableDelayChange : Boolean = true
TextInput
 InheritedfilterComparisionType : String
This is usually automatically set, you don't have to manually set it, unless you're sending strings as Date objects.
TextInput
  filterExpression : FilterExpression
[read-only] eturns the filter expression if there is a value in the text field The filter Expression value is an int.
NumericTextInput
 InheritedfilterOperation : String
The filter operation to apply to the comparison See the FilterExpression class for a list.
TextInput
 InheritedfilterTriggerEvent : String
The event that the filter triggers on.
TextInput
 Inheritedgrid : IExtendedDataGrid
The grid that the filter belongs to - can be null if filter is used outside the grid
TextInput
 InheritedgridColumn : IDataGridFilterColumn
The grid column that the filter belongs to - can be null if filter is used outside the grid
TextInput
 InheritedidValue : String
To enable use of the text input in picker type scenarios where we display a label string in the text input, but expose a store for the ID value.
TextInput
 InheritedinputCharValidFunction : Function = null
Wire this up where you need character by character validation of entered text.
TextInput
 InheritedinputMask : String
Input mask for the text input
TextInput
 InheritedinputMaskDelimiters : String = /,(,),-
A comma seperated list of characters that should be treated as literal characters for input mask purposes.
TextInput
 InheritedinputMaskForceLength : Boolean = true
Does not allow user to add more characters than those specified by the mask.
TextInput
  numericValue : Number
NumericTextInput
 InheritedrendererStyleName : String
TextInput
 InheritedsearchField : String
The field to search on, usually same as the data field.
TextInput
 InheritedshowIconWhenHasText : Boolean
Flag to control whether the icon only shows up when there is text in the box
TextInput
 Inheritedwatermark : String
The watermark to show when there is no text entered into the text input.
TextInput
Protected Properties
 PropertyDefined By
 Inherited_filterControlInterface : FilterControlImpl
TextInput
Public Methods
 MethodDefined By
  
NumericTextInput
 Inherited
Applies the selected item from the list to the autocomplete textbox
TextInput
 Inherited
clear():void
TextInput
 Inherited
Destroys the autocomplete list.
TextInput
 Inherited
dispatchEvent(event:Event):Boolean
[override]
TextInput
 Inherited
getValue():Object
Generic function that returns the value of a IFilterControl.
TextInput
 Inherited
TextInput
 Inherited
setStyle(styleProp:String, newValue:*):void
[override]
TextInput
 Inherited
If you set the inputMask after creation complete, call this function.
TextInput
 Inherited
setValue(val:Object):void
Generic function that sets the value of a IFilterControl
TextInput
Protected Methods
 MethodDefined By
 Inherited
adjustFocusRect(obj:DisplayObject = null):void
[override]
TextInput
 Inherited
applyText(newText:String):void
TextInput
 Inherited
[override]
TextInput
 Inherited
filterAutoCompete(item:*):Boolean
Based on the autoCompleteMatchType, filter the autocomplete dataprovider that
TextInput
 Inherited
TextInput
 Inherited
keyDownHandler(event:KeyboardEvent):void
[override] If the mouse is clicked up, and we dont own the target, kill autocomplete.
TextInput
 Inherited
onAutoCompleteItemClick(event:Event):void
Apply the list item value.
TextInput
 Inherited
If the mouse is clicked up, and we dont own the target, kill autocomplete.
TextInput
 Inherited
onDelayedChange(evt:Event):void
On delayed change, trigger autocomplete
TextInput
 Inherited
onInsideIcon(evt:Event):void
When icon is enabled, handles the click event of the icon.
TextInput
 Inherited
onKeyDown(event:KeyboardEvent):void
TextInput
 Inherited
onOutsideIcon(evt:Event):void
When icon is enabled, handles the click event of the icon.
TextInput
 Inherited
onRemovedFromStage(event:Event):void
If autocompete it shown, destroy it.
TextInput
 Inherited
onTextInput(event:TextEvent):void
TextInput
 Inherited
setIconVisible(event:Event):void
TextInput
 Inherited
setMask(userInput:String, advanceCursor:Boolean = false):void
On basis of the current text, sets the value of the mask.
TextInput
Events
 Event Summary Defined By
 InheritedWhen there are multiple change events dispatched within a short time frame, you can listen to this event instead, which will only dispatch once after waiting for a period specified by the delayDuration property, regardless of how many times the change event has dispatched.TextInput
 InheritedDispatched when the user clicks on a the icon specified by the insideIcon propertyTextInput
 InheritedDispatched when the user clicks on a the icon specified by the outsideIcon propertyTextInput
Styles
 Style Description Defined By
 InheritedType: String
Stylename for the autocomplete dropdown.
TextInput
 InheritedType: Number CSS Inheritance: no
The spacing between insideIcon, outsideIcon, and the text input.
TextInput
 InheritedType: Class CSS Inheritance: no
The icon that is displayed inside the textbox, based on the insideIconPosition property.
TextInput
 InheritedType: String
The position of the icon that is displayed inside the textbox.
TextInput
 InheritedType: Class CSS Inheritance: no
The icon that is displayed outside the textbox, based on the outsideIconPosition property.
TextInput
 InheritedType: String
The position of the icon that is displayed outside the textbox.
TextInput
 InheritedType: String
Stylename for the watermark label.
TextInput
Public Constants
 ConstantDefined By
 InheritedAUTO_COMPLETE_MATCH_TYPE_BEGINS_WITH : String = BeginsWith
[static] Match all items in the autocomplete dataprovider that start with the value of the text property
TextInput
 InheritedAUTO_COMPLETE_MATCH_TYPE_CONTAINS : String = Contains
[static] Match all items in the autocomplete dataprovider that contain the value of the text property
TextInput
 InheritedAUTO_COMPLETE_MATCH_TYPE_ENDS_WITH : String = EndsWith
[static] Match all items in the autocomplete dataprovider that end with the value of the text property
TextInput
 InheritedINSIDE_ICON_CLICK : String = insideIconClick
[static]
TextInput
 InheritedOUTSIDE_ICON_CLICK : String = outsideIconClick
[static]
TextInput
Property Detail
filterExpressionproperty
filterExpression:FilterExpression  [read-only]

eturns the filter expression if there is a value in the text field The filter Expression value is an int.


Implementation
    public function get filterExpression():FilterExpression
numericValueproperty 
numericValue:Number


Implementation
    public function get numericValue():Number
    public function set numericValue(value:Number):void
Constructor Detail
NumericTextInput()Constructor
public function NumericTextInput()