com.google.gwt.maps.client.overlay
Class GeoXmlLoadCallback

java.lang.Object
  extended by com.google.gwt.maps.client.overlay.GeoXmlLoadCallback

public abstract class GeoXmlLoadCallback
extends java.lang.Object

Callback used by the load() factory method of GeoXmlOverlay.


Constructor Summary
GeoXmlLoadCallback()
           
 
Method Summary
abstract  void onFailure(java.lang.String url, java.lang.Throwable caught)
          The call to create a new overlay failed.
abstract  void onSuccess(java.lang.String url, GeoXmlOverlay overlay)
          The call to create the object succeeded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoXmlLoadCallback

public GeoXmlLoadCallback()
Method Detail

onFailure

public abstract void onFailure(java.lang.String url,
                               java.lang.Throwable caught)
The call to create a new overlay failed.

Parameters:
url - The URL that was requested

onSuccess

public abstract void onSuccess(java.lang.String url,
                               GeoXmlOverlay overlay)
The call to create the object succeeded.

Parameters:
url - The URL that was requested
overlay - a newly constructed GeoXmlOverlay object.