DataViewBase

Description

abstract class Tinman.Engine.GUI.Components.DataViewBase
<TModel ref : IDataModelGeneric<TValue>>
<TValue>

Derived from

IDataView

Extended by

DataItemView sealed
FileSystemDataView sealed
TableView abstract

Abstract base class for IDataView implementations.

Protected / Constructors

Data​View​Base


protected constructor DataViewBase → (1)

columns in : int32

[>=1]
The number of columns.

Creates a new instance of DataViewBase.

Protected / Methods

Do​Create​Component


[OwnerReturn]
protected abstract method DoCreateComponent → (1)

column in : int32

The column index of the cell.

returns → Component

The GUI component or null if none.

Creates a GUI component for the given data model column.

Do​Update​Component


protected abstract method DoUpdateComponent → (5)

model in : TModel

The data model.

value in : TValue

The data model cell value.

row in : int32

The row index of the cell.

column in : int32

The column index of the cell.

component in : Component

The component, as returned by IDataView.CreateComponent.

Updates a GUI component for a cell of this data model.