TreeItem

open class TreeItem(text: String, val contexts: List<Context>)

Inheritors

Constructors

Link copied to clipboard
constructor(text: String, vararg contexts: Context)
constructor(text: String, contexts: List<Context>)

Properties

Link copied to clipboard
Link copied to clipboard
open val contexts: List<Context>
Link copied to clipboard

Used as a tooltip. null for no tooltip.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun add(child: TreeItem)
fun add(index: Int, child: TreeItem)
Link copied to clipboard
Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
fun icon(name: String): TreeItem
fun icon(name: String, colored: Boolean): TreeItem
Link copied to clipboard
Link copied to clipboard
fun remove(child: TreeItem)
Link copied to clipboard
fun removeAt(index: Int)
Link copied to clipboard
open override fun toString(): String