com.google.maps.gwt.client
Class FusionTablesLayer

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.MVCObject
          extended by com.google.maps.gwt.client.FusionTablesLayer

public class FusionTablesLayer
extends MVCObject

A FusionTablesLayer allows you to display data from a Google Fusion Table on a map, as a rendered layer. (See https://developers.google .com/fusiontables/ for more information about Fusion Tables). THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface FusionTablesLayer.ClickHandler
          This event is fired when a feature in the layer is clicked.
 
Constructor Summary
protected FusionTablesLayer()
          Protected constructor avoids default public constructor.
 
Method Summary
 void addClickListener(FusionTablesLayer.ClickHandler handler)
          Adds the given listener function to the given event name for the given object instance.
 void addClickListenerOnce(FusionTablesLayer.ClickHandler handler)
          Like addListener, but the handler removes itself after handling the first event.
 void clearClickListeners()
          Removes all listeners for the given event for the given instance.
 void clearInstanceListeners()
          Removes all listeners for all events for the given instance.
static FusionTablesLayer create(FusionTablesLayerOptions options)
          A layer that displays data from a Fusion Table.
 GoogleMap getMap()
          Returns the map on which this layer is displayed.
 void setMap(GoogleMap map)
          Renders the layer on the specified map.
 void setOptions(FusionTablesLayerOptions options)
           
 void triggerClick(JavaScriptObject... varargs)
          Triggers the given event.
 
Methods inherited from class com.google.maps.gwt.client.MVCObject
bindTo, bindTo, bindTo, bindTo, changed, create, get, notify, set, setValues, setValues, unbind, unbindAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FusionTablesLayer

protected FusionTablesLayer()
Protected constructor avoids default public constructor.

Method Detail

create

public static FusionTablesLayer create(FusionTablesLayerOptions options)
A layer that displays data from a Fusion Table.


addClickListener

public final void addClickListener(FusionTablesLayer.ClickHandler handler)
Adds the given listener function to the given event name for the given object instance. Returns an identifier for this listener that can be used with removeListener().


addClickListenerOnce

public final void addClickListenerOnce(FusionTablesLayer.ClickHandler handler)
Like addListener, but the handler removes itself after handling the first event.


clearClickListeners

public final void clearClickListeners()
Removes all listeners for the given event for the given instance.


clearInstanceListeners

public final void clearInstanceListeners()
Removes all listeners for all events for the given instance.


getMap

public final GoogleMap getMap()
Returns the map on which this layer is displayed.


setMap

public final void setMap(GoogleMap map)
Renders the layer on the specified map. If map is set to null, the layer will be removed.


setOptions

public final void setOptions(FusionTablesLayerOptions options)

triggerClick

public final void triggerClick(JavaScriptObject... varargs)
Triggers the given event. All arguments after eventName are passed as arguments to the listeners.