|
Community Map Builder 02 Dec 2005 | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
No overview generated for 'SetAoi.js'
| Class Summary | |
| SetAoi | |
/* License: LGPL as per: http://www.gnu.org/copyleft/lesser.html $Id: SetAoi.js,v 1.6 2005/09/20 02:37:54 madair1 Exp $ */ // Ensure this object's dependancies are loaded. mapbuilder.loadScript(baseDir+"/widget/ButtonBase.js"); /** * When this button is selected, the AOI box stays visible and no zoom happens. * @constructor * @base ButtonBase * @author Mike Adair * @param widgetNode The widget node from the Config XML file. * @param model The model for this widget */ function SetAoi(widgetNode, model) { // Extend ButtonBase ButtonBase.apply(this, new Array(widgetNode, model)); // override default cursor by user // cursor can be changed by spefying a new cursor in config file this.cursor = "crosshair"; /** * The action to do on click * @param objRef Pointer to this object. * @param targetNode The node for the enclosing HTML tag for this widget. */ this.doAction = function(objRef,targetNode) { //does nothing for the moment } if (this.mouseHandler) { this.mouseHandler.model.addListener('mouseup',this.doAction,this); } }
|
Community Map Builder 02 Dec 2005 | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||