Constructor
new(?data:Dynamic, ?location:Array<Int>, layoutIndex:Int = -1, branch:Bool = false, selected:Bool = false, ?text:String)
Creates a new TreeViewItemState
object with the given arguments.
Available since
1.0.0
.Variables
opened:Bool
Returns whether the branch is opened or closed. If the item is a leaf,
the value will always be false
.
Available since
1.0.0
.text:String
Returns the text to display for the item, as returned by the function
TreeView.itemToText
.
Available since
1.0.0
.See also: