OpenLayers OpenLayers

Changeset 6689

Show
Ignore:
Timestamp:
03/28/08 21:51:24 (10 months ago)
Author:
euzuro
Message:

move APIMethods up to top of file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/pop/lib/OpenLayers/Popup/Framed.js

    r6687 r6689  
    156156 
    157157    /** 
     158     * APIMethod: setBackgroundColor 
     159     */ 
     160    setBackgroundColor:function(color) { 
     161        //does nothing since the framed popup's entire scheme is based on a  
     162        // an image -- changing the background color makes no sense.  
     163    }, 
     164 
     165    /** 
     166     * APIMethod: setBorder 
     167     */ 
     168    setBorder:function() { 
     169        //does nothing since the framed popup's entire scheme is based on a  
     170        // an image -- changing the popup's border makes no sense.  
     171    }, 
     172 
     173    /** 
     174     * Method: setOpacity 
     175     * Sets the opacity of the popup. 
     176     *  
     177     * Parameters: 
     178     * opacity - {float} A value between 0.0 (transparent) and 1.0 (solid).    
     179     */ 
     180    setOpacity:function(opacity) { 
     181        //does nothing since we suppose that we'll never apply an opacity 
     182        // to a framed popup 
     183    }, 
     184 
     185    /** 
    158186     * APIMethod: setSize 
    159187     * Overridden here, because we need to update the blocks whenever the size 
     
    295323    }, 
    296324 
    297     /** 
    298      * APIMethod: setBackgroundColor 
    299      */ 
    300     setBackgroundColor:function(color) { 
    301         //does nothing since the framed popup's entire scheme is based on a  
    302         // an image -- changing the background color makes no sense.  
    303     }, 
    304  
    305     /** 
    306      * APIMethod: setBorder 
    307      */ 
    308     setBorder:function() { 
    309         //does nothing since the framed popup's entire scheme is based on a  
    310         // an image -- changing the popup's border makes no sense.  
    311     }, 
    312  
    313     /** 
    314      * Method: setOpacity 
    315      * Sets the opacity of the popup. 
    316      *  
    317      * Parameters: 
    318      * opacity - {float} A value between 0.0 (transparent) and 1.0 (solid).    
    319      */ 
    320     setOpacity:function(opacity) { 
    321         //does nothing since we suppose that we'll never apply an opacity 
    322         // to a framed popup 
    323     }, 
    324  
    325325    CLASS_NAME: "OpenLayers.Popup.Framed" 
    326326});