AbstractTableBehavior

Types

Link copied to clipboard

Creates the Views used for a Table's column footer.

Link copied to clipboard

Creates the Views used for a Table's column header.

Link copied to clipboard
interface MetaRowPositioner<T>

Provides the MetaRowGeometry for a given Table

Link copied to clipboard

Controls what goes into the unused space after the last column of a Table. This virtual column is visible when the real columns do not fill the entire width of the Table.

Functions

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

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

Link copied to clipboard
open fun <A> columnMoveEnd(table: 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: T, column: Column<A>)

Called whenever a column begins moving in table.

Link copied to clipboard
open fun moveColumn(table: 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 renderBody(table: T, canvas: Canvas)

Used to render the Table's body background.

Link copied to clipboard
open fun <A> renderColumnBody(table: 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: T, canvas: Canvas)

Used to render the Table's footer background.

Link copied to clipboard
open fun renderHeader(table: T, canvas: Canvas)

Used to render the Table's header background.

Inherited functions

Link copied to clipboard
open fun childrenClipPath(view: T): View.ClipPath?
Link copied to clipboard
open fun clipCanvasToBounds(view: T): Boolean
Link copied to clipboard
open fun contains(view: T, point: Point): Boolean
Link copied to clipboard
open fun install(view: T)
Link copied to clipboard
Link copied to clipboard
open fun render(view: T, canvas: Canvas)
Link copied to clipboard
open fun uninstall(view: T)