| Package | com.flexicious.controls |
| Class | public class NumericRangeBox |
| Inheritance | NumericRangeBox mx.containers.HBox |
| Implements | IRangeFilterControl, IFilterControl, mx.managers.IFocusManagerComponent, IFocusControllerComponent |
See also
| Property | Defined By | ||
|---|---|---|---|
| autoRegister : Boolean
Register with the container on creation complete
| NumericRangeBox | ||
| filterComparisionType : String
This is usually automatically set, you don't have to manually set it,
unless you're sending strings as Date objects. | NumericRangeBox | ||
| filterOperation : String
The filter operation to apply to the comparison
See the FilterExpression class for a list. | NumericRangeBox | ||
| filterTriggerEvent : String
The event that the filter triggers on. | NumericRangeBox | ||
| grid : IExtendedDataGrid
The grid that the filter belongs to - can be null
if filter is used outside the grid
| NumericRangeBox | ||
| gridColumn : IDataGridFilterColumn
The grid column that the filter belongs to - can be null
if filter is used outside the grid
| NumericRangeBox | ||
| maxValue : Object [read-only]
Returns the maximum value of the range
| NumericRangeBox | ||
| minValue : Object [read-only]
Returns the minimum value of the range
| NumericRangeBox | ||
| range : Array
eturns an array of [rangeStart,rangeEnd]
| NumericRangeBox | ||
| rangeEnd : Number
The end of the range
| NumericRangeBox | ||
| rangeStart : Number
The start of the range
| NumericRangeBox | ||
| relinquishFocus : Boolean [read-only]
During filter tabbing, indicates that this control wishes to
own its own tabbing, between the two boxes. | NumericRangeBox | ||
| rendererStyleName : String | NumericRangeBox | ||
| searchField : String
The field to search on, usually same as the data field. | NumericRangeBox | ||
| searchRangeEnd : Object [read-only]
f the range is invalid, returns the last value of the range. | NumericRangeBox | ||
| searchRangeStart : Object [read-only]
f the range is valid, returns the first value of the range. | NumericRangeBox | ||
| Property | Defined By | ||
|---|---|---|---|
| _filterControlInterface : FilterControlImpl | NumericRangeBox | ||
| Method | Defined By | ||
|---|---|---|---|
| NumericRangeBox | |||
clear():void
Clears out the textboxes
| NumericRangeBox | ||
drawFocus(isFocused:Boolean):void [override]
raws the focus around the first textbox
| NumericRangeBox | ||
getValue():Object
Generic function that returns the value of a IFilterControl
| NumericRangeBox | ||
reset():void
ipes out the text boxes
| NumericRangeBox | ||
setActualSize(w:Number, h:Number):void [override] | NumericRangeBox | ||
setFocus():void [override]
ets the focus on the first checkbox
| NumericRangeBox | ||
setValue(val:Object):void
Generic function that sets the value of a IFilterControl
| NumericRangeBox | ||
| Method | Defined By | ||
|---|---|---|---|
commitProperties():void [override] | NumericRangeBox | ||
setFocusOnChild(child:IFocusManagerComponent):void | NumericRangeBox | ||
| _filterControlInterface | property |
protected var _filterControlInterface:FilterControlImpl| autoRegister | property |
autoRegister:BooleanRegister with the container on creation complete
public function get autoRegister():Boolean public function set autoRegister(value:Boolean):void| filterComparisionType | property |
filterComparisionType:StringThis is usually automatically set, you don't have to manually set it, unless you're sending strings as Date objects. When set, will attempt to first convert the current value to the type you specified and then do the conversion. Values : auto,string,number,boolean,date
The default value is auto.
public function get filterComparisionType():String public function set filterComparisionType(value:String):void| filterOperation | property |
filterOperation:StringThe filter operation to apply to the comparison See the FilterExpression class for a list. Please note, for CheckBoxList and MultiSelectComboBox, this field defaults to "InList" and is ignored when set. see
public function get filterOperation():String public function set filterOperation(value:String):void| filterTriggerEvent | property |
filterTriggerEvent:StringThe event that the filter triggers on. Defaults to "change", or if the filterRenderer supports com.flexicious.controls.interfaces.IDelayedChange, then the delayedChange event.
public function get filterTriggerEvent():String public function set filterTriggerEvent(value:String):voidSee also
| grid | property |
grid:IExtendedDataGridThe grid that the filter belongs to - can be null if filter is used outside the grid
public function get grid():IExtendedDataGrid public function set grid(value:IExtendedDataGrid):void| gridColumn | property |
gridColumn:IDataGridFilterColumnThe grid column that the filter belongs to - can be null if filter is used outside the grid
public function get gridColumn():IDataGridFilterColumn public function set gridColumn(value:IDataGridFilterColumn):void| maxValue | property |
maxValue:Object [read-only] Returns the maximum value of the range
public function get maxValue():Object| minValue | property |
minValue:Object [read-only] Returns the minimum value of the range
public function get minValue():Object| range | property |
range:Arrayeturns an array of [rangeStart,rangeEnd]
public function get range():Array public function set range(value:Array):void| rangeEnd | property |
rangeEnd:NumberThe end of the range
public function get rangeEnd():Number public function set rangeEnd(value:Number):void| rangeStart | property |
rangeStart:NumberThe start of the range
public function get rangeStart():Number public function set rangeStart(value:Number):void| relinquishFocus | property |
relinquishFocus:Boolean [read-only] During filter tabbing, indicates that this control wishes to own its own tabbing, between the two boxes. If user tabs out of the second box or shift tabs out of the first box, it relinquishes focus to the tabbing mechanism of the filter row.
public function get relinquishFocus():Boolean| rendererStyleName | property |
public var rendererStyleName:String| searchField | property |
searchField:StringThe field to search on, usually same as the data field.
public function get searchField():String public function set searchField(value:String):void| searchRangeEnd | property |
searchRangeEnd:Object [read-only] f the range is invalid, returns the last value of the range.
public function get searchRangeEnd():Object| searchRangeStart | property |
searchRangeStart:Object [read-only] f the range is valid, returns the first value of the range.
public function get searchRangeStart():Object| NumericRangeBox | () | Constructor |
public function NumericRangeBox()| clear | () | method |
public function clear():voidClears out the textboxes
| commitProperties | () | method |
override protected function commitProperties():void| drawFocus | () | method |
override public function drawFocus(isFocused:Boolean):voidraws the focus around the first textbox
Parameters
isFocused:Boolean |
| getValue | () | method |
public function getValue():ObjectGeneric function that returns the value of a IFilterControl
ReturnsObject |
| reset | () | method |
public function reset():voidipes out the text boxes
| setActualSize | () | method |
override public function setActualSize(w:Number, h:Number):voidParameters
w:Number | |
h:Number |
| setFocus | () | method |
override public function setFocus():voidets the focus on the first checkbox
| setFocusOnChild | () | method |
protected function setFocusOnChild(child:IFocusManagerComponent):voidParameters
child:IFocusManagerComponent |
| setValue | () | method |
public function setValue(val:Object):voidGeneric function that sets the value of a IFilterControl
Parameters
val:Object |