Represents the current state of a GroupListView item renderer.

Available since

1.0.0

.

See also:

Constructor

@:value({ text : null, selected : false, layoutIndex : -1, location : null, data : null, type : STANDARD })new(type:GroupListViewItemType = STANDARD, ?data:Dynamic, ?location:Array<Int>, layoutIndex:Int = -1, selected:Bool = false, ?text:String)

Creates a new TreeViewItemState object with the given arguments.

Available since

1.0.0

.

Variables

data:Dynamic

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

Available since

1.0.0

.

@:value(true)enabled:Bool = true

Returns whether the item is enabled or not.

Available since

1.0.0

.

See also:

@:value(-1)layoutIndex:Int = -1

Returns the location of the item in the GroupListView layout.

Available since

1.0.0

.

location:Array<Int>

The location of the item in the GroupListView data provider.

Available since

1.0.0

.

owner:GroupListView

Returns a reference to the GroupListView that contains this item.

Available since

1.0.0

.

recyclerID:String

Returns the item's recycler ID.

Available since

1.0.0

.

See also:

@:value(false)selected:Bool = false

Returns whether the item is selected or not.

Available since

1.0.0

.

text:String

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

Available since

1.0.0

.

See also:

type:GroupListViewItemType

The type of item that this state represents.

Available since

1.0.0

.