C# Class AK.F1.Timing.Model.Grid.GridRowModelBase

Inheritance: ModelBase
Afficher le fichier Open project: simoneb/ak-f1-timing

Méthodes publiques

Méthode Description
GetColumn ( GridColumn column ) : GridColumnModel

Returns the column model for the specified column.

Reset ( ) : void

Resets all the columns specified by this row.

ToString ( ) : string
Update ( GridColumn column, GridColumnColour colour ) : void

Updates the colour of the specified column.

Update ( GridColumn column, GridColumnColour colour, string text ) : void

Updates the text and colour of the specified column.

Méthodes protégées

Méthode Description
GridRowModelBase ( int id ) : System

Initialises a new instance of the GridRowModelBase.

Method Details

GetColumn() public méthode

Returns the column model for the specified column.
/// Thrown when the specified is not contained by the row. ///
public GetColumn ( GridColumn column ) : GridColumnModel
column GridColumn The column.
Résultat GridColumnModel

GridRowModelBase() protected méthode

Initialises a new instance of the GridRowModelBase.
protected GridRowModelBase ( int id ) : System
id int The row Id.
Résultat System

Reset() public méthode

Resets all the columns specified by this row.
public Reset ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Update() public méthode

Updates the colour of the specified column.
public Update ( GridColumn column, GridColumnColour colour ) : void
column GridColumn The coloumn to update.
colour GridColumnColour The new column colour.
Résultat void

Update() public méthode

Updates the text and colour of the specified column.
public Update ( GridColumn column, GridColumnColour colour, string text ) : void
column GridColumn The coloumn to update.
colour GridColumnColour The new column colour.
text string The new column text.
Résultat void