Home
Components
Playground
Developer
Forums
Contribute
class
ListDataSource
DataSource
ListDataSource
package
haxe.ui.data
haxe.ui.data.DataSource
↪ haxe.ui.data.ListDataSource
Static Methods
static
fromArray
<T>(source:Array<T>, transformer:
IItemTransformer
<T> = null):
ListDataSource
<T>
Methods
override
clone
():
DataSource
<T>
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