C# Class TraktPlugin.GUI.GUITrendingMovies

Inheritance: MediaPortal.GUI.Library.GUIWindow
显示文件 Open project: trakt/Trakt-for-Mediaportal

Private Properties

Property Type Description
CheckAndPlayMovie void
ClearProperties void
GetTrendingMovies TraktPlugin.TraktAPI.DataStructures.TraktMoviesTrending
InitProperties void
LoadTrendingMovies void
OnMovieSelected void
OnNextPageSelected void
OnPreviousPageSelected void
PublishMovieSkinProperties void
SendTrendingMoviesToFacade void
UpdateButtonState void

Public Methods

Method Description
GUITrendingMovies ( ) : System
Init ( ) : bool
OnAction ( MediaPortal.GUI.Library.Action action ) : void

Protected Methods

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

Private Methods

Method Description
CheckAndPlayMovie ( bool jumpTo ) : void
ClearProperties ( bool moviesOnly = false ) : void
GetTrendingMovies ( int page ) : TraktMoviesTrending
InitProperties ( ) : void
LoadTrendingMovies ( int page = 1 ) : void
OnMovieSelected ( GUIListItem item, GUIControl control ) : void
OnNextPageSelected ( GUIListItem item, GUIControl control ) : void
OnPreviousPageSelected ( GUIListItem item, GUIControl control ) : void
PublishMovieSkinProperties ( TraktMovieTrending trendingItem ) : void
SendTrendingMoviesToFacade ( TraktMoviesTrending trendingItems ) : void
UpdateButtonState ( ) : void

Method Details

GUITrendingMovies() public method

public GUITrendingMovies ( ) : System
return System

Init() public method

public Init ( ) : bool
return bool

OnAction() public method

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
return void

OnClicked() protected method

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

OnPageDestroy() protected method

protected OnPageDestroy ( int new_windowId ) : void
new_windowId int
return void

OnPageLoad() protected method

protected OnPageLoad ( ) : void
return void

OnShowContextMenu() protected method

protected OnShowContextMenu ( ) : void
return void