org.wicketstuff.gmap.api
Class GMarkerOptions

java.lang.Object
  extended by org.wicketstuff.gmap.api.GMarkerOptions
All Implemented Interfaces:
Serializable, Cloneable, GValue

public class GMarkerOptions
extends Object
implements GValue, Cloneable

http://code.google.com/apis/maps/documentation/javascript/reference.html# MarkerOptions

Author:
Christian Hennig (christian.hennig@freiheit.com)
See Also:
Serialized Form

Constructor Summary
GMarkerOptions(GMap gmap, GLatLng latLng)
           
GMarkerOptions(GMap gmap, GLatLng latLng, String title)
           
GMarkerOptions(GMap gmap, GLatLng latLng, String title, GIcon icon, GIcon shadow)
           
 
Method Summary
 GMarkerOptions autoPan(boolean autoPan)
           
 GMarkerOptions bouncy(boolean bouncy)
           
 GMarkerOptions clickable(boolean clickable)
           
 GMarkerOptions clone()
           
 GMarkerOptions draggable(boolean draggable)
           
 boolean equals(Object obj)
           
 String getCursor()
           
 GMap getGmap()
           
 GIcon getIcon()
           
 String getJSconstructor()
           
 GLatLng getLatLng()
           
 GIcon getShadow()
           
 String getTitle()
           
 int hashCode()
           
 boolean isAutoPan()
           
 boolean isBouncy()
           
 boolean isClickable()
           
 boolean isDraggable()
           
 boolean isFlat()
           
 void setLatLng(GLatLng latLng)
           
 void setShadow(GIcon shadow)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng)

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title)

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title,
                      GIcon icon,
                      GIcon shadow)
Method Detail

getJSconstructor

public String getJSconstructor()
Specified by:
getJSconstructor in interface GValue
Returns:
A JavaScript constructor that represents this element.
See Also:
GValue.getJSconstructor()

getTitle

public String getTitle()

isDraggable

public boolean isDraggable()

isClickable

public boolean isClickable()

isBouncy

public boolean isBouncy()

isAutoPan

public boolean isAutoPan()

getIcon

public GIcon getIcon()

clone

public GMarkerOptions clone()
Overrides:
clone in class Object
See Also:
Object.clone()

clickable

public GMarkerOptions clickable(boolean clickable)

draggable

public GMarkerOptions draggable(boolean draggable)

autoPan

public GMarkerOptions autoPan(boolean autoPan)

bouncy

public GMarkerOptions bouncy(boolean bouncy)

getCursor

public String getCursor()

isFlat

public boolean isFlat()

setLatLng

public void setLatLng(GLatLng latLng)

getLatLng

public GLatLng getLatLng()

getGmap

public GMap getGmap()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

setShadow

public void setShadow(GIcon shadow)

getShadow

public GIcon getShadow()


Copyright © 2014. All rights reserved.