com.google.gwt.maps.client.event
Class StreetviewErrorHandler.StreetviewErrorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.google.gwt.maps.client.event.StreetviewErrorHandler.StreetviewErrorEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
StreetviewErrorHandler

public static class StreetviewErrorHandler.StreetviewErrorEvent
extends java.util.EventObject

Encapsulates the arguments for the MapEvent.ERROR event on a StreetviewPanoramaWidget.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StreetviewErrorHandler.StreetviewErrorEvent(StreetviewPanoramaWidget source, int errorCode)
           
 
Method Summary
 int getErrorCode()
          Returns the code of the error that caused this event.
 StreetviewPanoramaWidget getSender()
          Returns the instance of the StreetviewPanoramaWidget that generated this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreetviewErrorHandler.StreetviewErrorEvent

public StreetviewErrorHandler.StreetviewErrorEvent(StreetviewPanoramaWidget source,
                                                   int errorCode)
Method Detail

getErrorCode

public int getErrorCode()
Returns the code of the error that caused this event.

Returns:
the code of the error that caused this event.

getSender

public StreetviewPanoramaWidget getSender()
Returns the instance of the StreetviewPanoramaWidget that generated this event.

Returns:
the instance of the StreetviewPanoramaWidget that generated this event.