/**
 * This class manages an image  in Gigapan Explorer
 * application.  It will hold the image displayed to the user.<br><br>
 * <br><br>
 * <a href="mailto:ehudsons@andrew.cmu.edu">Ellen Hudson-Snyder</a>, 
 * <a href="mailto:evedar@andrew.cmu.edu">Elvin Vedar</a>,
 * <a href="mailto:cbalz@andrew.cmu.edu">Christopher M. Balz</a>.
 * <br><br>CVS Version Info:<br>
 *  $Id: ImageLayer.js,v 1.9 2005/12/05 07:39:19 cbalz Exp $  
 * <br><br>
 * @inherits-from <code>AbstractImageLayer</code>
 * @listens-to-event <code>onabort</code> from the document object model image (DOM) object (the DOM equivalent 
 *                                        of the <code>img</code> html tag).
 * @listens-to-event <code>onerror</code> from the document object model image (DOM) object (the DOM equivalent 
 *                                        of the <code>img</code> html tag).
 * @object-prop <code>boolean</code> <code>booTurnOnImageIds</code>  Whether or not to show an image tag for the
 *                                   image managed by this widget.  This value is controlled by a configuration 
 *                                   parameter.  For details, read the JavaScriptdoc on the
 *                                   <code>Configuration</code> class, located in the <code>Controller</code>
 *                                   package.
 * @author Team GigaToasted (Fall-2005-CMU-NASA/Google-Practicum Subteam) 
 * @version 1.0
 * <br><br>
 */ 

// Set the prototype chain for efficient inheritance:
ImageLayer.prototype = new AbstractImageLayer();

/**
 * Create an <code>ImageLayer</code> object.
 * @param objParent <code>Object</code>  The parent, if any, of this object.
 */
function ImageLayer(objParent) {
    this.superC("imagelayer" + AbstractWidget.intUniqueNum, objParent); // Complete the inheritance.         

    // Register events:
    self.gloScope.registerEvent(this.strId, this, this.strId,  "onabort");
    self.gloScope.registerEvent(this.strId, this, this.strId,  "onerror");

    this.booTurnOnImageIds = self.gloScope.ctController.booTurnOnImageIds; // Caching locally.
}


