wicket.contrib.gmap.api
Enum GControl

java.lang.Object
  extended by java.lang.Enum<GControl>
      extended by wicket.contrib.gmap.api.GControl
All Implemented Interfaces:
Serializable, Comparable<GControl>

public enum GControl
extends Enum<GControl>
implements Serializable

Represents an Google Maps API's GControl.


Enum Constant Summary
GLargeMapControl
           
GLargeMapControl3D
           
GMapTypeControl
           
GScaleControl
           
GSmallMapControl
           
GSmallZoomControl
           
GSmallZoomControl3D
           
 
Method Summary
 String getJSadd(GMap2 map)
           
 String getJSremove(GMap2 map)
           
static GControl valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GControl[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GSmallMapControl

public static final GControl GSmallMapControl

GLargeMapControl

public static final GControl GLargeMapControl

GSmallZoomControl

public static final GControl GSmallZoomControl

GScaleControl

public static final GControl GScaleControl

GMapTypeControl

public static final GControl GMapTypeControl

GLargeMapControl3D

public static final GControl GLargeMapControl3D

GSmallZoomControl3D

public static final GControl GSmallZoomControl3D
Method Detail

values

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

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

valueOf

public static GControl 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

getJSadd

public String getJSadd(GMap2 map)

getJSremove

public String getJSremove(GMap2 map)


Copyright © 2012. All Rights Reserved.