C# Class TraktPlugin.GUI.GUICalendar

Inheritance: MediaPortal.GUI.Library.GUIWindow
Afficher le fichier Open project: trakt/Trakt-for-Mediaportal Class Usage Examples

Private Properties

Свойство Type Description
CheckAndPlayEpisode void
ClearProperties void
ConvertDaysInCalendarToLocalisedDays List>.Dictionary
GetCalendar IEnumerable>.Dictionary
GetCalendarTypeName string
GetDayHeader string
GetDaysForward string
GetStartDate System.DateTime
GetStartDateName string
InitProperties void
LoadCalendar void
OnCalendarDateSelected void
OnEpisodeSelected void
OnNextWeekSelected void
PublishCalendarSkinProperties void
SendCalendarToFacade void
SetCurrentStartDate void
SetCurrentView void
SetHideWatchlisted void
ShowStartDateMenu void
ShowViewMenu void

Méthodes publiques

Méthode Description
ClearCache ( ) : void
GUICalendar ( ) : System
Init ( ) : bool
OnAction ( MediaPortal.GUI.Library.Action action ) : void

Méthodes protégées

Méthode Description
OnClicked ( int controlId, GUIControl control, MediaPortal.GUI.Library.Action actionType ) : void
OnPageDestroy ( int new_windowId ) : void
OnPageLoad ( ) : void
OnShowContextMenu ( ) : void

Private Methods

Méthode Description
CheckAndPlayEpisode ( ) : void
ClearProperties ( ) : void
ConvertDaysInCalendarToLocalisedDays ( Dictionary calendar ) : List>.Dictionary

Converts each day in the calendar dictionary key to a localised day Some underlying episodes could be from multiple days as they span a UTC day not a local day

GetCalendar ( ) : IEnumerable>.Dictionary
GetCalendarTypeName ( CalendarType type ) : string
GetDayHeader ( System.DateTime dateTime ) : string
GetDaysForward ( ) : string

Get number of days forward to request in calendar, takes into consideration the current anchor point

GetStartDate ( ) : System.DateTime

Get Date Time for Calendar Anchor Point

GetStartDateName ( StartDates date ) : string
InitProperties ( ) : void
LoadCalendar ( ) : void
OnCalendarDateSelected ( GUIListItem item, GUIControl parent ) : void
OnEpisodeSelected ( GUIListItem item, GUIControl parent ) : void
OnNextWeekSelected ( GUIListItem item, GUIControl parent ) : void
PublishCalendarSkinProperties ( TraktCalendar calendarItem ) : void
SendCalendarToFacade ( Dictionary calendar ) : void
SetCurrentStartDate ( ) : void
SetCurrentView ( ) : void
SetHideWatchlisted ( ) : void
ShowStartDateMenu ( ) : void
ShowViewMenu ( ) : void

Method Details

ClearCache() public static méthode

public static ClearCache ( ) : void
Résultat void

GUICalendar() public méthode

public GUICalendar ( ) : System
Résultat System

Init() public méthode

public Init ( ) : bool
Résultat bool

OnAction() public méthode

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
Résultat void

OnClicked() protected méthode

protected OnClicked ( int controlId, GUIControl control, MediaPortal.GUI.Library.Action actionType ) : void
controlId int
control MediaPortal.GUI.Library.GUIControl
actionType MediaPortal.GUI.Library.Action
Résultat void

OnPageDestroy() protected méthode

protected OnPageDestroy ( int new_windowId ) : void
new_windowId int
Résultat void

OnPageLoad() protected méthode

protected OnPageLoad ( ) : void
Résultat void

OnShowContextMenu() protected méthode

protected OnShowContextMenu ( ) : void
Résultat void