C# 클래스 PocketCampus.IsAcademia.Controls.DayDisplay.PeriodMatrix

Represents a matrix of periods possibly overlapping vertically.
파일 보기 프로젝트 열기: accandme/pocketcampus

공개 메소드들

메소드 설명
GetColumn ( Period period ) : int

Gets the column in which the specified period should be put to avoid collisions.

GetWidthMultiplier ( Period period ) : double

Gets the width multiplier for the specified period. Always less than or equal to 1.

PeriodMatrix ( StudyDay day ) : System

Creates a new PeriodMatrix for the specified day's periods.

비공개 메소드들

메소드 설명
IterateOverIntervals ( Period period, int intervals, Action action ) : void

Iterates over the specified intervals for the specified period, executing the specified action that takes an index.

메소드 상세

GetColumn() 공개 메소드

Gets the column in which the specified period should be put to avoid collisions.
public GetColumn ( Period period ) : int
period PocketCampus.IsAcademia.Models.Period
리턴 int

GetWidthMultiplier() 공개 메소드

Gets the width multiplier for the specified period. Always less than or equal to 1.
public GetWidthMultiplier ( Period period ) : double
period PocketCampus.IsAcademia.Models.Period
리턴 double

PeriodMatrix() 공개 메소드

Creates a new PeriodMatrix for the specified day's periods.
public PeriodMatrix ( StudyDay day ) : System
day PocketCampus.IsAcademia.Models.StudyDay
리턴 System