Home
Components
Playground
Developer
Forums
Contribute
class
ArrayDataSource
DataSource
ArrayDataSource
package
haxe.ui.data
haxe.ui.data.DataSource
↪ haxe.ui.data.ArrayDataSource
Static Methods
static
fromArray
<T>(source:Array<T>, transformer:
IItemTransformer
<T> = null):
ArrayDataSource
<T>
Methods
override
clone
():
DataSource
<T>
override
sortCustom
(fn::T->T->
SortDirection
->Int, direction:
SortDirection
= null):Void
Inherited from DataSource
add
(item:T):T
clear
():Void
clearFilter
():Void
clone
():
DataSource
<T>
filter
(fn::Int->T->Bool):Void
get
(index:Int):T
indexOf
(item:T):Int
insert
(index:Int, item:T):T
onChange
():Void
onClear
():Void
onDataSourceChange
():Void
remove
(item:T):T
removeAt
(index:Int):T
sort
(field:String = null, direction:
SortDirection
= null):Void
sortCustom
(fn::T->T->
SortDirection
->Int, direction:
SortDirection
= null):Void
update
(index:Int, item:T):T