Follow us on GitHub

com.google.gwt.maps.client.controls
Enum ScaleControlStyle

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

public enum ScaleControlStyle
extends Enum<ScaleControlStyle>

Identifiers for scale control ids.

See ScaleControlStyle API Doc


Enum Constant Summary
DEFAULT
          The standard scale control.
 
Method Summary
static ScaleControlStyle fromValue(String type)
          convert a String value to enum Type
 String toString()
          return the enum Type as a String
 String value()
          return the enum value as a String
static ScaleControlStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScaleControlStyle[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final ScaleControlStyle DEFAULT
The standard scale control.

Method Detail

values

public static ScaleControlStyle[] 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 (ScaleControlStyle c : ScaleControlStyle.values())
    System.out.println(c);

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

valueOf

public static ScaleControlStyle valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()
return the enum value as a String

Returns:
String

fromValue

public static ScaleControlStyle fromValue(String type)
convert a String value to enum Type

Parameters:
type -
Returns:
TYPE

toString

public String toString()
return the enum Type as a String

Overrides:
toString in class Enum<ScaleControlStyle>


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.