Moving some properties (title, div, type, events, activate, deactivate) to
API Properties. (Closes #2827) git-svn-id: http://svn.openlayers.org/trunk/openlayers@11570 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -71,13 +71,14 @@ OpenLayers.Control = OpenLayers.Class({
|
|||||||
map: null,
|
map: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: div
|
* APIProperty: div
|
||||||
* {DOMElement}
|
* {DOMElement} The element that contains the control, if not present the
|
||||||
|
* control is placed inside the map.
|
||||||
*/
|
*/
|
||||||
div: null,
|
div: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: type
|
* APIProperty: type
|
||||||
* {Number} Controls can have a 'type'. The type determines the type of
|
* {Number} Controls can have a 'type'. The type determines the type of
|
||||||
* interactions which are possible with them when they are placed in an
|
* interactions which are possible with them when they are placed in an
|
||||||
* <OpenLayers.Control.Panel>.
|
* <OpenLayers.Control.Panel>.
|
||||||
@@ -101,7 +102,7 @@ OpenLayers.Control = OpenLayers.Class({
|
|||||||
displayClass: "",
|
displayClass: "",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: title
|
* APIProperty: title
|
||||||
* {string} This property is used for showing a tooltip over the
|
* {string} This property is used for showing a tooltip over the
|
||||||
* Control.
|
* Control.
|
||||||
*/
|
*/
|
||||||
@@ -136,9 +137,9 @@ OpenLayers.Control = OpenLayers.Class({
|
|||||||
eventListeners: null,
|
eventListeners: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: events
|
* APIProperty: events
|
||||||
* {<OpenLayers.Events>} Events instance for triggering control specific
|
* {<OpenLayers.Events>} Events instance for listeners and triggering
|
||||||
* events.
|
* control specific events.
|
||||||
*/
|
*/
|
||||||
events: null,
|
events: null,
|
||||||
|
|
||||||
@@ -296,7 +297,7 @@ OpenLayers.Control = OpenLayers.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: activate
|
* APIMethod: activate
|
||||||
* Explicitly activates a control and it's associated
|
* Explicitly activates a control and it's associated
|
||||||
* handler if one has been set. Controls can be
|
* handler if one has been set. Controls can be
|
||||||
* deactivated by calling the deactivate() method.
|
* deactivated by calling the deactivate() method.
|
||||||
@@ -324,7 +325,7 @@ OpenLayers.Control = OpenLayers.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: deactivate
|
* APIMethod: deactivate
|
||||||
* Deactivates a control and it's associated handler if any. The exact
|
* Deactivates a control and it's associated handler if any. The exact
|
||||||
* effect of this depends on the control itself.
|
* effect of this depends on the control itself.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user