com.google.maps.gwt.client
Class ControlPosition

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

public class ControlPosition
extends JavaScriptObject

Identifiers used to specify the placement of controls on the map. Controls are positioned relative to other controls in the same layout position. Controls that are added first are positioned closer to the edge of the map.
  +----------------+
  + TL    TC    TR +
  + LT          RT +
  +                +
  + LC          RC +
  +                +
  + LB          RB +
  + BL    BC    BR +
  +----------------+
Elements in the top or bottom row flow towards the middle. Elements at the left or right sides flow downwards. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Field Summary
static ControlPosition BOTTOM_CENTER
          Elements are positioned in the center of the bottom row.
static ControlPosition BOTTOM_LEFT
          Elements are positioned in the bottom left and flow towards the middle.
static ControlPosition BOTTOM_RIGHT
          Elements are positioned in the bottom right and flow towards the middle.
static ControlPosition LEFT_BOTTOM
          Elements are positioned on the left, above bottom-left elements, and flow upwards.
static ControlPosition LEFT_CENTER
          Elements are positioned in the center of the left side.
static ControlPosition LEFT_TOP
          Elements are positioned on the left, below top-left elements, and flow downwards.
static ControlPosition RIGHT_BOTTOM
          Elements are positioned on the right, above bottom-right elements, and flow upwards.
static ControlPosition RIGHT_CENTER
          Elements are positioned in the center of the right side.
static ControlPosition RIGHT_TOP
          Elements are positioned on the right, below top-right elements, and flow downwards.
static ControlPosition TOP_CENTER
          Elements are positioned in the center of the top row.
static ControlPosition TOP_LEFT
          Elements are positioned in the top left and flow towards the middle.
static ControlPosition TOP_RIGHT
          Elements are positioned in the top right and flow towards the middle.
 
Constructor Summary
protected ControlPosition()
          Protected constructor avoids default public constructor.
 
Method Summary
static ControlPosition fromValue(double value)
          Access the enum instance using the underlying value of the type.
 double getValue()
          Access the underlying value of the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOTTOM_CENTER

public static final ControlPosition BOTTOM_CENTER
Elements are positioned in the center of the bottom row.


BOTTOM_LEFT

public static final ControlPosition BOTTOM_LEFT
Elements are positioned in the bottom left and flow towards the middle. Elements are positioned to the right of the Google logo.


BOTTOM_RIGHT

public static final ControlPosition BOTTOM_RIGHT
Elements are positioned in the bottom right and flow towards the middle. Elements are positioned to the left of the copyrights.


LEFT_BOTTOM

public static final ControlPosition LEFT_BOTTOM
Elements are positioned on the left, above bottom-left elements, and flow upwards.


LEFT_CENTER

public static final ControlPosition LEFT_CENTER
Elements are positioned in the center of the left side.


LEFT_TOP

public static final ControlPosition LEFT_TOP
Elements are positioned on the left, below top-left elements, and flow downwards.


RIGHT_BOTTOM

public static final ControlPosition RIGHT_BOTTOM
Elements are positioned on the right, above bottom-right elements, and flow upwards.


RIGHT_CENTER

public static final ControlPosition RIGHT_CENTER
Elements are positioned in the center of the right side.


RIGHT_TOP

public static final ControlPosition RIGHT_TOP
Elements are positioned on the right, below top-right elements, and flow downwards.


TOP_CENTER

public static final ControlPosition TOP_CENTER
Elements are positioned in the center of the top row.


TOP_LEFT

public static final ControlPosition TOP_LEFT
Elements are positioned in the top left and flow towards the middle.


TOP_RIGHT

public static final ControlPosition TOP_RIGHT
Elements are positioned in the top right and flow towards the middle.

Constructor Detail

ControlPosition

protected ControlPosition()
Protected constructor avoids default public constructor.

Method Detail

fromValue

public static final ControlPosition fromValue(double value)
Access the enum instance using the underlying value of the type.


getValue

public final double getValue()
Access the underlying value of the type.