com.google.gwt.maps.client.maptypes
Class MapTypeRegistry

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.mvc.MVCObject<MapTypeRegistry>
          extended by com.google.gwt.maps.client.maptypes.MapTypeRegistry

public class MapTypeRegistry
extends MVCObject<MapTypeRegistry>

See ImageMapType API Doc


Constructor Summary
protected MapTypeRegistry()
          The MapTypeRegistry holds the collection of custom map types available to the map for its use.
 
Method Summary
static MapTypeRegistry newInstance()
          The MapTypeRegistry holds the collection of custom map types available to the map for its use.
 void set(String id, Object mapType)
          Sets the registry to associate the passed string identifier with the passed MapType.
 
Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapTypeRegistry

protected MapTypeRegistry()
The MapTypeRegistry holds the collection of custom map types available to the map for its use. The API consults this registry when providing the list of available map types within controls, for example.

Method Detail

newInstance

public static final MapTypeRegistry newInstance()
The MapTypeRegistry holds the collection of custom map types available to the map for its use. The API consults this registry when providing the list of available map types within controls, for example.


set

public final void set(String id,
                      Object mapType)
Sets the registry to associate the passed string identifier with the passed MapType.

Parameters:
id -
mapType - is Object because of limitations of JSO's and interfaces in GWT


Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.