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,
|
||||
|
||||
/**
|
||||
* Property: div
|
||||
* {DOMElement}
|
||||
* APIProperty: div
|
||||
* {DOMElement} The element that contains the control, if not present the
|
||||
* control is placed inside the map.
|
||||
*/
|
||||
div: null,
|
||||
|
||||
/**
|
||||
* Property: type
|
||||
* APIProperty: type
|
||||
* {Number} Controls can have a 'type'. The type determines the type of
|
||||
* interactions which are possible with them when they are placed in an
|
||||
* <OpenLayers.Control.Panel>.
|
||||
@@ -101,7 +102,7 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
displayClass: "",
|
||||
|
||||
/**
|
||||
* Property: title
|
||||
* APIProperty: title
|
||||
* {string} This property is used for showing a tooltip over the
|
||||
* Control.
|
||||
*/
|
||||
@@ -136,9 +137,9 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
eventListeners: null,
|
||||
|
||||
/**
|
||||
* Property: events
|
||||
* {<OpenLayers.Events>} Events instance for triggering control specific
|
||||
* events.
|
||||
* APIProperty: events
|
||||
* {<OpenLayers.Events>} Events instance for listeners and triggering
|
||||
* control specific events.
|
||||
*/
|
||||
events: null,
|
||||
|
||||
@@ -296,7 +297,7 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: activate
|
||||
* APIMethod: activate
|
||||
* Explicitly activates a control and it's associated
|
||||
* handler if one has been set. Controls can be
|
||||
* 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
|
||||
* effect of this depends on the control itself.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user