oscar.Util.Plugin

This is a base class for all plugins.

Summary
oscar.Util.PluginThis is a base class for all plugins.
Properties
pluginTypeA string to define what the plugin is for.
Functions
getIcon Returns the icon
getPluginTypeReturns the plugin type
setOptionsThis method will take a JSON class definition and apply the properties to this object.
playThis is the method that is called to run the plugin.

Properties

pluginType

A string to define what the plugin is for.  This will be used for the plugin registration

Functions

getIcon Returns the icon

getPluginType

getPluginType : function()

Returns the plugin type

setOptions

setOptions : function(options)

This method will take a JSON class definition and apply the properties to this object.  Parameter: - options A JSON class

play

play : function()

This is the method that is called to run the plugin.

getPluginType : function()
Returns the plugin type
setOptions : function(options)
This method will take a JSON class definition and apply the properties to this object.
play : function()
This is the method that is called to run the plugin.