Represents the current state of a ButtonBar button renderer.

Available since

1.0.0

.

See also:

Constructor

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

Creates a new ButtonBarItemState object with the given arguments.

Available since

1.0.0

.

Variables

data:Dynamic

An item from the collection used as the ButtonBar 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)index:Int = -1

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

Available since

1.0.0

.

owner:ButtonBar

Returns a reference to the ButtonBar that contains this item.

Available since

1.0.0

.

recyclerID:String

Returns the item's recycler ID.

Available since

1.0.0

.

See also:

text:String

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

Available since

1.0.0

.

See also: