IDataView

Description

interface Tinman.Engine.GUI.Components.IDataView

Extended by

DataViewBase abstract

Base interface for classes that provide GUI components for viewing the contents of a IDataModel.

Public / Methods

CreateComponent


[OwnerReturn]
public method CreateComponent → (1)

column in : int32

[0..IDataView.Columns-1]
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.

UpdateComponent


public method UpdateComponent → (4)

model in : IDataModel

[not-null]
The data model.

row in : int32

[0..model.Rows-1]
The row index of the cell.

column in : int32

[0..IDataView.Columns-1]
The column index of the cell.

component in : Component

[not-null]
The component, as returned by CreateComponent.

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

Public / Attributes

Columns


public attribute Columns → (get)

value : int32

[>=1]
The column count.

The number of columns in this data view.