Class Index | File Index

Classes


Class gva.component.ShowGrid


Extends .

Defined in: ShowGrid.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
 
Updates the action indicator text/icon to default display.
 
Initializes the draggable shows and the subscription drop target.
 
initialize($context)
 
onDragEnd(event)
Event handler for when a show finishes being dragged.
 
Event handler for mouseout events on draggable shows.
 
Event handler for mouseover events on draggable shows.
 
onDragStart(event)
Event handler for when a show starts being dragged.
 
onDrop(event)
Event handler for when a show is dropped onto the target.
 
Event handler for when an item's episode button is clicked
 
Event handler for when an item's subscribe button is clicked
 
refresh(showData)
Refreshes the grid and updates the items based on the latest data
 
Clears and nulls all drop area confirmation timeouts.
 
Updates the action indicator text/icon to display a confirmation t=emporarily.
 
toggleDropArea(display)
Slides the subscription button up and down to reveal the droppable area.
Class Detail
gva.component.ShowGrid()
Method Detail
addItem(item)
Creates a DOM element for an item and appends it to the grid
Parameters:
{gva.vo.Show} item
The data for the item to add.

hideDropConfirmation()
Updates the action indicator text/icon to default display.

initDragDrop()
Initializes the draggable shows and the subscription drop target.

initialize($context)
Parameters:
$context

onDragEnd(event)
Event handler for when a show finishes being dragged.
Parameters:
{goog.events.Event} event
The event which triggered the handler.

onDraggableMouseOut(event)
Event handler for mouseout events on draggable shows.
Parameters:
{goog.events.Event} event
The event which triggered the handler.

onDraggableMouseOver(event)
Event handler for mouseover events on draggable shows.
Parameters:
{goog.events.Event} event
The event which triggered the handler.

onDragStart(event)
Event handler for when a show starts being dragged.
Parameters:
{goog.events.Event} event
The event which triggered the handler.

onDrop(event)
Event handler for when a show is dropped onto the target.
Parameters:
{goog.events.Event} event
The event which triggered the handler.

onEpisodesClicked(event)
Event handler for when an item's episode button is clicked
Parameters:
{goog.events.Event} event
The event which triggered the handler.

onSubscribeClicked(event)
Event handler for when an item's subscribe button is clicked
Parameters:
{goog.events.Event} event
The event which triggered the handler.

refresh(showData)
Refreshes the grid and updates the items based on the latest data
Parameters:
{Array.} showData
The updated show data.

resetTimers()
Clears and nulls all drop area confirmation timeouts.

showDropConfirmation(showName)
Updates the action indicator text/icon to display a confirmation t=emporarily.
Parameters:
{String} showName
The name of the show that has been added.

toggleDropArea(display)
Slides the subscription button up and down to reveal the droppable area.
Parameters:
{Boolean} display
Set to true to reveal the droppable area and false to close it.

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