com.google.gwt.maps.client
Enum MapPaneType

java.lang.Object
  extended by java.lang.Enum<MapPaneType>
      extended by com.google.gwt.maps.client.MapPaneType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MapPaneType>

public enum MapPaneType
extends java.lang.Enum<MapPaneType>

Identifies a layer of the map used as a parameter to MapWidget.getPane(MapPaneType).


Enum Constant Summary
FLOAT_PANE
          This pane contains the info window.
FLOAT_SHADOW_PANE
          This pane contains the shadow of the info window.
MAP_PANE
          This pane is still below the shadows of the markers, directly on top of the map.
MARKER_MOUSE_TARGET_PANE
          This pane contains transparent elements that receive DOM mouse events for the markers.
MARKER_PANE
          This pane contains the markers.
MARKER_SHADOW_PANE
          This pane contains the shadows of the markers.
OVERLAY_LAYER_PANE
          This pane contains polylines, polygons, ground overlays and tile layer overlays.
 
Method Summary
static MapPaneType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MapPaneType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FLOAT_PANE

public static final MapPaneType FLOAT_PANE
This pane contains the info window. It is above everything else on the map.


FLOAT_SHADOW_PANE

public static final MapPaneType FLOAT_SHADOW_PANE
This pane contains the shadow of the info window. It is above the MARKER_PANE, so that markers can be in the shadow of the info window.


MAP_PANE

public static final MapPaneType MAP_PANE
This pane is still below the shadows of the markers, directly on top of the map. It contains for instance the polylines.


MARKER_MOUSE_TARGET_PANE

public static final MapPaneType MARKER_MOUSE_TARGET_PANE
This pane contains transparent elements that receive DOM mouse events for the markers. Is is above the FLOAT_SHADOW_PANE, so that markers in the shadow of the info window can be clickable.


MARKER_PANE

public static final MapPaneType MARKER_PANE
This pane contains the markers.


MARKER_SHADOW_PANE

public static final MapPaneType MARKER_SHADOW_PANE
This pane contains the shadows of the markers. It is below the markers.


OVERLAY_LAYER_PANE

public static final MapPaneType OVERLAY_LAYER_PANE
This pane contains polylines, polygons, ground overlays and tile layer overlays.

Method Detail

values

public static MapPaneType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MapPaneType c : MapPaneType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MapPaneType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null