com.google.maps.gwt.client
Class MVCObject

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.MVCObject
Direct Known Subclasses:
AdUnit, Autocomplete, BicyclingLayer, Circle, DirectionsRenderer, DrawingManager, FusionTablesLayer, GoogleMap, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, MapCanvasProjection, MapTypeRegistry, Marker, OverlayView, PanoramioLayer, Polygon, Polyline, Rectangle, StreetViewPanorama, TrafficLayer

public class MVCObject
extends JavaScriptObject

THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected MVCObject()
          Protected constructor avoids default public constructor.
 
Method Summary
 void bindTo(java.lang.String key, MVCObject target)
          Binds a View to a Model.
 void bindTo(java.lang.String key, MVCObject target, boolean noNotify)
          Binds a View to a Model.
 void bindTo(java.lang.String key, MVCObject target, java.lang.String targetKey)
          Binds a View to a Model.
 void bindTo(java.lang.String key, MVCObject target, java.lang.String targetKey, boolean noNotify)
          Binds a View to a Model.
 void changed(java.lang.String key)
          Generic handler for state changes.
static MVCObject create()
          Base class implementing KVO.
 JavaScriptObject get(java.lang.String key)
          Gets a value.
 void notify(java.lang.String key)
          Notify all observers of a change on this property.
 void set(java.lang.String key, JavaScriptObject value)
          Sets a value.
 void setValues()
          Sets a collection of key-value pairs.
 void setValues(JavaScriptObject values)
          Sets a collection of key-value pairs.
 void unbind(java.lang.String key)
          Removes a binding.
 void unbindAll()
          Removes all bindings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVCObject

protected MVCObject()
Protected constructor avoids default public constructor.

Method Detail

create

public static MVCObject create()
Base class implementing KVO.


bindTo

public final void bindTo(java.lang.String key,
                         MVCObject target,
                         java.lang.String targetKey,
                         boolean noNotify)
Binds a View to a Model.


bindTo

public final void bindTo(java.lang.String key,
                         MVCObject target,
                         java.lang.String targetKey)
Binds a View to a Model.


bindTo

public final void bindTo(java.lang.String key,
                         MVCObject target,
                         boolean noNotify)
Binds a View to a Model.


bindTo

public final void bindTo(java.lang.String key,
                         MVCObject target)
Binds a View to a Model.


changed

public final void changed(java.lang.String key)
Generic handler for state changes. Override this in derived classes to handle arbitrary state changes.


get

public final JavaScriptObject get(java.lang.String key)
Gets a value.


notify

public final void notify(java.lang.String key)
Notify all observers of a change on this property. This notifies both objects that are bound to the object's property as well as the object that it is bound to.


set

public final void set(java.lang.String key,
                      JavaScriptObject value)
Sets a value.


setValues

public final void setValues(JavaScriptObject values)
Sets a collection of key-value pairs.


setValues

public final void setValues()
Sets a collection of key-value pairs.


unbind

public final void unbind(java.lang.String key)
Removes a binding. Unbinding will set the unbound property to the current value. The object will not be notified, as the value has not changed.


unbindAll

public final void unbindAll()
Removes all bindings.