MutableTree

class MutableTree<T, M : MutableTreeModel<T>>(model: M, itemVisualizer: ItemVisualizer<T, ExpandableItem>? = null, selectionModel: SelectionModel<Path<Int>>? = null) : DynamicTree<T, M> , Editable(source)

Constructors

Link copied to clipboard
constructor(model: M, itemVisualizer: ItemVisualizer<T, ExpandableItem>? = null, selectionModel: SelectionModel<Path<Int>>? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override var bounds: Rectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Defines how the contents of an item should be aligned within it.

Link copied to clipboard
protected open val children: ObservableList<View>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val displayChange: BooleanObservers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val displayRectHandlingChanged: BooleanObservers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val enabledChanged: BooleanObservers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val firstSelectable: Path<Int>?
Link copied to clipboard
open override val firstSelection: Path<Int>?
Link copied to clipboard
protected var firstVisibleRow: Int
Link copied to clipboard
val focusabilityChanged: BooleanObservers
Link copied to clipboard
open var focusable: Boolean
Link copied to clipboard
val focusChanged: BooleanObservers
Link copied to clipboard
protected val focusCycleRoot: View?
Link copied to clipboard
Link copied to clipboard
var font: Font?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override var height: Double
Link copied to clipboard
override var idealSize: Size?
Link copied to clipboard
open override var insets: Insets
Link copied to clipboard
open override var isFocusCycleRoot: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val lastSelectable: Path<Int>?
Link copied to clipboard
open override val lastSelection: Path<Int>?
Link copied to clipboard
protected var lastVisibleRow: Int
Link copied to clipboard
protected open var layout: Layout?
Link copied to clipboard
override var minimumSize: Size
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open val model: M
Link copied to clipboard
Link copied to clipboard
open override val numRows: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var parent: View?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override var position: Point
Link copied to clipboard
Link copied to clipboard
open override var rootVisible: Boolean
Link copied to clipboard
Link copied to clipboard
open override val selection: Set<Path<Int>>
Link copied to clipboard
open override val selectionAnchor: Path<Int>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override var size: Size
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val visibilityChanged: BooleanObservers
Link copied to clipboard
override var visible: Boolean
Link copied to clipboard
override var width: Double
Link copied to clipboard
override var x: Double
Link copied to clipboard
override var y: Double
Link copied to clipboard
var zOrder: Int

Functions

Link copied to clipboard
fun add(path: Path<Int>, values: T)
Link copied to clipboard
fun addAll(path: Path<Int>, values: Collection<T>)
Link copied to clipboard
open override fun cancelEditing()
Link copied to clipboard
fun clear()
Link copied to clipboard
open override fun completeEditing()
Link copied to clipboard
protected open override fun handleDisplayRectEvent(old: Rectangle, new: Rectangle)
Link copied to clipboard
fun removeAt(path: Path<Int>): Result<T>
Link copied to clipboard
operator fun set(path: Path<Int>, value: T)
operator fun set(row: Int, value: T)
Link copied to clipboard
fun startEditing(path: Path<Int>)

Inherited functions

Link copied to clipboard
protected open override fun addedToDisplay()
Link copied to clipboard
open override fun addSelection(items: Set<Path<Int>>)
open fun addSelection(rows: Set<Int>, jvmWorkaround: Int = 0)
Link copied to clipboard
protected open infix fun ancestorOf(view: View): Boolean
Link copied to clipboard
fun child(of: Path<Int>, path: Int): Result<T>
protected open fun child(at: Point): View?
Link copied to clipboard
fun children(parent: Path<Int>): Iterator<T>
Link copied to clipboard
open override fun clearSelection()
Link copied to clipboard
open override fun collapse(path: Path<Int>)
@JvmName(name = "collapseRows")
fun collapse(row: Int)
fun collapse(paths: Set<Path<Int>>)
@JvmName(name = "collapseRows")
fun collapse(rows: Set<Int>)
Link copied to clipboard
open override fun collapseAll()
Link copied to clipboard
protected operator fun contains(child: View): Boolean
open operator override fun contains(point: Point): Boolean
Link copied to clipboard
protected fun contentDirectionChanged()
Link copied to clipboard
protected fun cursorChanged(old: Cursor?, new: Cursor?)
Link copied to clipboard
protected open fun doLayout()
Link copied to clipboard
protected fun enabledChanged(old: Boolean, new: Boolean, filter: (View) -> Boolean)
Link copied to clipboard
open override fun expand(path: Path<Int>)
@JvmName(name = "expandRows")
fun expand(row: Int)
fun expand(paths: Set<Path<Int>>)
@JvmName(name = "expandRows")
fun expand(rows: Set<Int>)
Link copied to clipboard
open override fun expandAll()
Link copied to clipboard
open override fun expanded(path: Path<Int>): Boolean
Link copied to clipboard
protected open fun filterKeyEvent(event: KeyEvent)
Link copied to clipboard
protected open fun filterPointerEvent(event: PointerEvent)
Link copied to clipboard
protected open fun filterPointerMotionEvent(event: PointerEvent)
Link copied to clipboard
fun fromAbsolute(point: Point): Point
Link copied to clipboard
operator fun get(path: Path<Int>): Result<T>
operator fun get(row: Int): Result<T>
operator fun get(traversalType: FocusTraversalPolicy.TraversalType): Set<KeyState>?
Link copied to clipboard
protected open fun handleKeyEvent(event: KeyEvent)
Link copied to clipboard
protected open fun handlePointerEvent(event: PointerEvent)
Link copied to clipboard
protected open fun handlePointerMotionEvent(event: PointerEvent)
Link copied to clipboard
fun indexOfChild(parent: Path<Int>, child: T): Int
Link copied to clipboard
open infix fun intersects(point: Point): Boolean
Link copied to clipboard
open override fun isLeaf(path: Path<Int>): Boolean
Link copied to clipboard
protected fun layout(view: View, node: T, path: Path<Int>, index: Int)
Link copied to clipboard
fun makeVisible(path: Path<Int>)
Link copied to clipboard
open override fun next(after: Path<Int>): Path<Int>?
Link copied to clipboard
fun numChildren(of: Path<Int>): Int
Link copied to clipboard
open override fun pathFromRow(index: Int): Path<Int>?
Link copied to clipboard
open override fun previous(before: Path<Int>): Path<Int>?
Link copied to clipboard
protected fun refreshAll()
Link copied to clipboard
protected open fun relayout()
Link copied to clipboard
protected open override fun removedFromDisplay()
Link copied to clipboard
open override fun removeSelection(items: Set<Path<Int>>)
open fun removeSelection(rows: Set<Int>, jvmWorkaround: Int = 0)
Link copied to clipboard
open override fun render(canvas: Canvas)
Link copied to clipboard
fun rerender()
Link copied to clipboard
Link copied to clipboard
protected fun revalidate()
Link copied to clipboard
open override fun rowFromPath(path: Path<Int>): Int?
Link copied to clipboard
fun scrollTo(path: Path<Int>)
Link copied to clipboard
Link copied to clipboard
open override fun selectAll()
Link copied to clipboard
open override fun selected(item: Path<Int>): Boolean
open override fun selected(row: Int): Boolean
Link copied to clipboard
operator fun set(traversalType: FocusTraversalPolicy.TraversalType, keyStates: Set<KeyState>?)
Link copied to clipboard
open override fun setSelection(items: Set<Path<Int>>)
open fun setSelection(rows: Set<Int>, jvmWorkaround: Int = 0)
Link copied to clipboard
protected open fun shouldHandlePointerEvent(event: PointerEvent): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected fun styleChanged(filter: (View) -> Boolean)
Link copied to clipboard
fun toAbsolute(point: Point): Point
Link copied to clipboard
open override fun toggleSelection(items: Set<Path<Int>>)
open fun toggleSelection(rows: Set<Int>, jvmWorkaround: Int = 0)
Link copied to clipboard
fun toLocal(point: Point, from: View?): Point
Link copied to clipboard
Link copied to clipboard
fun toParent(point: Point): Point
Link copied to clipboard
protected fun update(children: MutableList<View>, path: Path<Int>, index: Int? = rowFromPath(path)): Int?
Link copied to clipboard
open override fun visible(path: Path<Int>): Boolean
open override fun visible(row: Int): Boolean