Class Index | File Index

Classes


Class gva.component.EpisodeGrid


Extends .

Defined in: EpisodeGrid.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
addItem(item)
Creates a DOM element for an item and appends it to the grid
 
initialize($context)
 
Event handler for when a grid item's play button is clicked
 
refresh(episodeData)
Refreshes the episode grid when episode data has changed
 
setEpisodes(episodes)
Populates the grid with episodes.
Class Detail
gva.component.EpisodeGrid()
Method Detail
addItem(item)
Creates a DOM element for an item and appends it to the grid
Parameters:
{Object} item
The data for the item to add.

initialize($context)
Parameters:
$context

onPlayClicked(event)
Event handler for when a grid item's play button is clicked
Parameters:
{goog.events.Event} event
The event which triggered the handler.

refresh(episodeData)
Refreshes the episode grid when episode data has changed
Parameters:
{Array.} episodeData
The updated episode data.

setEpisodes(episodes)
Populates the grid with episodes.
Parameters:
{Array} episodes
The array of episodes to populate.

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