re-add the Constructor API doc removed in r11610 (see #3146)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11653 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2011-03-07 14:33:48 +00:00
parent 415aca4763
commit dc9f615833
6 changed files with 41 additions and 0 deletions

View File

@@ -54,6 +54,16 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
*/ */
displayProjection: null, displayProjection: null,
/**
* Constructor: OpenLayers.Control.ArgParser
*
* Parameters:
* options - {Object}
*/
/**
* Method: getParameters
*/
getParameters: function(url) { getParameters: function(url) {
url = url || window.location.href; url = url || window.location.href;
var parameters = OpenLayers.Util.getParameters(url); var parameters = OpenLayers.Util.getParameters(url);

View File

@@ -24,6 +24,13 @@ OpenLayers.Control.Attribution =
*/ */
separator: ", ", separator: ", ",
/**
* Constructor: OpenLayers.Control.Attribution
*
* Parameters:
* options - {Object} Options for control.
*/
/** /**
* Method: destroy * Method: destroy
* Destroy control. * Destroy control.

View File

@@ -34,6 +34,10 @@ OpenLayers.Control.KeyboardDefaults = OpenLayers.Class(OpenLayers.Control, {
*/ */
slideFactor: 75, slideFactor: 75,
/**
* Constructor: OpenLayers.Control.KeyboardDefaults
*/
/** /**
* APIMethod: destroy * APIMethod: destroy
*/ */

View File

@@ -81,6 +81,13 @@ OpenLayers.Control.MousePosition = OpenLayers.Class(OpenLayers.Control, {
*/ */
displayProjection: null, displayProjection: null,
/**
* Constructor: OpenLayers.Control.MousePosition
*
* Parameters:
* options - {Object} Options for control.
*/
/** /**
* Method: destroy * Method: destroy
*/ */

View File

@@ -84,6 +84,10 @@ OpenLayers.Control.PanZoomBar = OpenLayers.Class(OpenLayers.Control.PanZoom, {
*/ */
zoomStart: null, zoomStart: null,
/**
* Constructor: OpenLayers.Control.PanZoomBar
*/
/** /**
* APIMethod: destroy * APIMethod: destroy
*/ */

View File

@@ -72,6 +72,15 @@ OpenLayers.Control.ScaleLine = OpenLayers.Class(OpenLayers.Control, {
*/ */
geodesic: false, geodesic: false,
/**
* Constructor: OpenLayers.Control.ScaleLine
* Create a new scale line control.
*
* Parameters:
* options - {Object} An optional object whose properties will be used
* to extend the control.
*/
/** /**
* Method: draw * Method: draw
* *