C# 클래스 AK.F1.Timing.Model.Grid.GridRowModelBase

상속: ModelBase
파일 보기 프로젝트 열기: simoneb/ak-f1-timing

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
GridRowModelBase ( int id ) : System

Initialises a new instance of the GridRowModelBase.

메소드 상세

GetColumn() 공개 메소드

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.
리턴 GridColumnModel

GridRowModelBase() 보호된 메소드

Initialises a new instance of the GridRowModelBase.
protected GridRowModelBase ( int id ) : System
id int The row Id.
리턴 System

Reset() 공개 메소드

Resets all the columns specified by this row.
public Reset ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Update() 공개 메소드

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.
리턴 void

Update() 공개 메소드

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.
리턴 void