Represents the current state of a ListView item renderer.

Available since

1.0.0

.

See also:

Constructor

@:value({ text : null, selected : false, index : -1, data : null })new(?data:Dynamic, index:Int = -1, selected:Bool = false, ?text:String)

Creates a new ListViewItemState object with the given arguments.

Available since

1.0.0

.

Variables

data:Dynamic

An item from the collection used as the ListView data provider.

Available since

1.0.0

.

enabled:Bool

Returns whether the item is enabled or not.

Available since

1.0.0

.

See also:

index:Int

The position of the data within the collection used as the ListView data provider.

Available since

1.0.0

.

owner:ListView

Returns a reference to the ListView that contains this item.

Available since

1.0.0

.

selected:Bool

Returns whether the item is selected or not.

Available since

1.0.0

.

See also:

text:String

Returns the text to display for the item, as returned by the function ListView.itemToText.

Available since

1.0.0

.

See also: