Community Map Builder 02 Dec 2005

Button.js

Summary

No overview generated for 'Button.js'


Class Summary
Button  

/*
License: LGPL as per: http://www.gnu.org/copyleft/lesser.html
$Id: Button.js,v 1.3 2005/09/20 02:37:54 madair1 Exp $
*/

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

/**
 * Generic Button object.  Set the <action> property in config for the controller
 * method to be called when selected
 * @base ButtonBase
 * @author Mike Adair mike.adairATccrs.nrcan.gc.ca
 * @param widgetNode      The tool node from the Config XML file.
 * @param model  The ButtonBar widget.
 */
function Button(widgetNode, model) {
  ButtonBase.apply(this, new Array(widgetNode, model));

}



Community Map Builder 02 Dec 2005

Documentation generated by JSDoc on Fri Dec 2 16:31:06 2005