TreeTableBehavior

Controls the look and feel for a TreeTable.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
interface CellGenerator<T>

Responsible for creating a View to represent each cell in the TreeTable.

Link copied to clipboard
abstract class RowPositioner<T>

Determines the location and height of rows in the TreeTable.

Link copied to clipboard
interface TreeCellGenerator<T>

Responsible for creating a View to represent each cell in the first column of the TreeTable.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
protected fun TreeTable<T, *>.bodyDirty()

Requests that the TreeTable repaint its body. This will result in a call to renderBody.

Link copied to clipboard
protected fun TreeTable<T, *>.columnDirty(column: Column<*>)

Requests that the TreeTable repaint a column. This will result in a call to renderColumnBody.

Link copied to clipboard
protected fun TreeTable<T, *>.footerDirty()

Requests that the TreeTable repaint its footer. This will result in a call to renderFooter.

Link copied to clipboard
protected fun TreeTable<T, *>.headerDirty()

Requests that the TreeTable repaint its header. This will result in a call to renderHeader.

Inherited functions

Link copied to clipboard
Link copied to clipboard
open fun clipCanvasToBounds(view: TreeTable<T, *>): Boolean
Link copied to clipboard
open fun <A> columnMoved(table: TreeTable<T, *>, column: Column<A>)

Called each time a column's position changes in table.

Link copied to clipboard
open fun <A> columnMoveEnd(table: TreeTable<T, *>, column: Column<A>)

Called whenever movement of a column (started when moveColumn was called) ends.

Link copied to clipboard
open fun <A> columnMoveStart(table: TreeTable<T, *>, column: Column<A>)

Called whenever a column begins moving in table.

Link copied to clipboard
open fun contains(view: TreeTable<T, *>, point: Point): Boolean
Link copied to clipboard
open fun install(view: TreeTable<T, *>)
Link copied to clipboard
Link copied to clipboard
open fun moveColumn(table: TreeTable<T, *>, distance: Double, block: (progress: Float) -> Unit): Completable

Called whenever a column needs to automatically move to a location. This happens (for example) if a column is being reordered. The given block controls the progress and timing of this move, allowing for custom animation.

Link copied to clipboard
open fun render(view: TreeTable<T, *>, canvas: Canvas)
Link copied to clipboard
open fun renderBody(table: TreeTable<T, *>, canvas: Canvas)

Used to render the Table's body background.

Link copied to clipboard
open fun <A> renderColumnBody(table: TreeTable<T, *>, column: Column<A>, canvas: Canvas)

Used to render individual backgrounds for the Table's columns. This draws above the Table's body; and is useful for cases where columns need distinct visuals (i.e. when being dragged).

Link copied to clipboard
open fun renderFooter(table: TreeTable<T, *>, canvas: Canvas)

Used to render the Table's footer background.

Link copied to clipboard
open fun renderHeader(table: TreeTable<T, *>, canvas: Canvas)

Used to render the Table's header background.

Link copied to clipboard
open fun uninstall(view: TreeTable<T, *>)