Community Map Builder 27 Apr 2008

Widget.js

Summary

No overview generated for 'Widget.js'


Class Summary
Widget  

/*
License: LGPL as per: http://www.gnu.org/copyleft/lesser.html
$Id: Widget.js 3091 2007-08-09 12:21:54Z gjvoosten $
*/

// Ensure this object's dependancies are loaded.
mapbuilder.loadScript(baseDir+"/widget/WidgetBaseXSL.js");

/**
 * Generic Widget object for widgets where no specialization is required.  
 * This is just an instance of a abstract WidgetBaseXSL object.
 * This widget requires a <stylesheet> property in the config file.
 * @constructor
 * @base WidgetBaseXSL
 * @author Cameron Shorter cameronATshorter.net
 * @param widgetNode  The widget's XML object node from the configuration document.
 * @param model       The model object that this widget belongs to.
 */
function Widget(widgetNode, model) {
  //var base = new WidgetBaseXSL(this, widgetNode, model);
  WidgetBaseXSL.apply(this, new Array(widgetNode, model));

}

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008