oscar.Gui.ThemeManagerViewer

Description: This is an implementation of the ThemeManager gui object for use in oscar.

Summary
oscar.Gui.ThemeManagerViewerDescription: This is an implementation of the ThemeManager gui object for use in oscar.
Functions
setGuiContainerSets the container for the manager.
drawDraws the theme manager view to the div
deactivateAllThemes Cycle through the viewcontrols and deactivate any active themes.
getToggleButton Returns a div button to togglethe appearance of the Theme Gui Controller
onToggleClickThis method is called when the button is clicked
toggleGuiThis method is called when the open/close button is clicked.

Functions

setGuiContainer

setGuiContainer : function(div)

Sets the container for the manager.

draw

draw : function()

Draws the theme manager view to the div

deactivateAllThemes Cycle through the view

controls and deactivate any active themes.

getToggleButton Returns a div button to toggle

the appearance of the Theme Gui Controller

Returns: div <HTMLElement>

onToggleClick

onToggleClick : function(e)

This method is called when the button is clicked

toggleGui

toggleGui : function()

This method is called when the open/close button is clicked.

setGuiContainer : function(div)
Sets the container for the manager.
draw : function()
Draws the theme manager view to the div
onToggleClick : function(e)
This method is called when the button is clicked
toggleGui : function()
This method is called when the open/close button is clicked.