Handler

trait Handler[T <: Txn[T], Node, Branch <: Node, Data]
class Object
trait Matchable
class Any

Value members

Abstract methods

def branchOption(node: Node): Option[Branch]

Returns this node as a branch, if is one, or None if this node is a leaf.

Returns this node as a branch, if is one, or None if this node is a leaf.

def children(branch: Branch)(implicit tx: T): Iterator[Node]

Queries the children of a branch.

Queries the children of a branch.

def columnNames: IndexedSeq[String]
def data(node: Node)(implicit tx: T): Data

Queries the opaque rendering data for a given node. The data can be used by the renderer.

Queries the opaque rendering data for a given node. The data can be used by the renderer.

def editor(treeTable: TreeTableView[T, Node, Branch, Data], node: NodeView[T, Node, Branch, Data], row: Int, column: Int, selected: Boolean): (Component, CellEditor)
def isEditable(data: Data, column: Int): Boolean
def observe(n: Node, data: Data, dispatch: T => ModelUpdate[Node, Branch] => Unit)(implicit tx: T): Disposable[T]

After creating a new node view with data obtained by the data method, tells the handler to register listeners that can dispatch tree changes. This may also observe the data if it is a dynamic view. In this case, to unregister the listeners, the handler should rely on the dispose method of the returned Disposable.

After creating a new node view with data obtained by the data method, tells the handler to register listeners that can dispatch tree changes. This may also observe the data if it is a dynamic view. In this case, to unregister the listeners, the handler should rely on the dispose method of the returned Disposable.

def renderer(treeTable: TreeTableView[T, Node, Branch, Data], node: NodeView[T, Node, Branch, Data], row: Int, column: Int, state: State): Component