Class Index | File Index

Classes


Class gva.controller.ShowController


Extends .

Defined in: ShowController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Adds event listeners for show components.
 
 
 
initialize($context)
 
navigate(segments, instant)
Tells the controller to handle deep linking beyond the top level section depth.
 
Event handler for when all episode/show data is ready.
 
Event handler for the back to show button click event
 
Event handler for the episode data loaded event, dispatched from the data model
 
Event handler for an episode being selected from the episode grid
 
Event handler for an episode being marked as watched in the user model
 
Event handler for the show data loaded event, dispatched from the data model
 
Event handler for the resize event dispatched by the show details component
 
Event handler for a show subscription changing in the user model
 
Refreshes the episode grid with the current episode data
Class Detail
gva.controller.ShowController()
Method Detail
addEventListeners()
Adds event listeners for show components.

disable()

enable()

initialize($context)
Parameters:
$context

navigate(segments, instant)
Tells the controller to handle deep linking beyond the top level section depth.
Parameters:
{Array.} segments
A list of URL fragments beyond the root level.
{boolean=} instant
If true, no transition will be applied.

onAllDataLoaded(event)
Event handler for when all episode/show data is ready.
Parameters:
{goog.events.Event} event
The event which triggered this handler.

onBackClicked(event)
Event handler for the back to show button click event
Parameters:
{goog.events.BrowserEvent} event
The event which triggered this handler.

onEpisodeDataLoaded(event)
Event handler for the episode data loaded event, dispatched from the data model
Parameters:
{goog.events.Event} event
An event containing episode data from the data model.

onEpisodeSelected(event)
Event handler for an episode being selected from the episode grid
Parameters:
{goog.events.Event} event
An event containing the episode ID of the selected episode.

onEpisodeWatched(event)
Event handler for an episode being marked as watched in the user model
Parameters:
{goog.events.Event} event
An event containing the episode data of the watched episode.

onShowDataLoaded(event)
Event handler for the show data loaded event, dispatched from the data model
Parameters:
{goog.events.Event} event
An event containing show data from the data model.

onShowDetailsResize(event)
Event handler for the resize event dispatched by the show details component
Parameters:
{goog.events.Event} event
The event which triggered this handler.

onSubscriptionChanged(event)
Event handler for a show subscription changing in the user model
Parameters:
{goog.events.Event} event
An event containing the show which has changed.

refreshEpisodeData()
Refreshes the episode grid with the current episode data

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Dec 22 2011 17:41:23 GMT-0800 (PST)