Annotations for exports
This commit is contained in:
@@ -111,6 +111,7 @@ ol.ObjectAccessor.prototype.transform = function(from, to) {
|
||||
* @param {Object.<string, *>=} opt_values Values.
|
||||
* @fires {@link ol.ObjectEvent} ol.ObjectEvent
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object = function(opt_values) {
|
||||
goog.base(this);
|
||||
@@ -244,6 +245,7 @@ ol.Object.getSetterName = function(key) {
|
||||
* @param {string=} opt_targetKey Target key.
|
||||
* @return {ol.ObjectAccessor}
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.bindTo = function(key, target, opt_targetKey) {
|
||||
var targetKey = opt_targetKey || key;
|
||||
@@ -301,6 +303,7 @@ ol.Object.prototype.createBeforeChangeListener_ = function(key, targetKey) {
|
||||
* @param {string} key Key name.
|
||||
* @return {*} Value.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.get = function(key) {
|
||||
var value;
|
||||
@@ -328,6 +331,7 @@ ol.Object.prototype.get = function(key) {
|
||||
/**
|
||||
* Get a list of object property names.
|
||||
* @return {Array.<string>} List of property names.
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.getKeys = function() {
|
||||
var accessors = this.accessors_;
|
||||
@@ -360,6 +364,7 @@ ol.Object.prototype.getKeys = function() {
|
||||
* Get an object of all property names and values.
|
||||
* @return {Object.<string, *>} Object.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.getProperties = function() {
|
||||
var properties = {};
|
||||
@@ -380,6 +385,7 @@ ol.Object.prototype.getProperties = function() {
|
||||
* that it is bound to.
|
||||
* @param {string} key Key name.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.notify = function(key) {
|
||||
var accessors = this.accessors_;
|
||||
@@ -411,6 +417,7 @@ ol.Object.prototype.notifyInternal_ = function(key) {
|
||||
* @param {string} key Key name.
|
||||
* @param {*} value Value.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.set = function(key, value) {
|
||||
this.dispatchEvent(
|
||||
@@ -440,6 +447,7 @@ ol.Object.prototype.set = function(key, value) {
|
||||
* Sets a collection of key-value pairs.
|
||||
* @param {Object.<string, *>} values Values.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.setValues = function(values) {
|
||||
var key;
|
||||
@@ -454,6 +462,7 @@ ol.Object.prototype.setValues = function(values) {
|
||||
* value. The object will not be notified, as the value has not changed.
|
||||
* @param {string} key Key name.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.unbind = function(key) {
|
||||
var listeners = this.listeners_;
|
||||
@@ -478,6 +487,7 @@ ol.Object.prototype.unbind = function(key) {
|
||||
/**
|
||||
* Removes all bindings.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.Object.prototype.unbindAll = function() {
|
||||
for (var key in this.listeners_) {
|
||||
|
||||
Reference in New Issue
Block a user