org.wicketstuff.gmap.api
Class GMarkerClusterStyle

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

public class GMarkerClusterStyle
extends Object
implements GValue

Used in GMarkerClusterOptions JS code with options: 'styles': (object) An object that has style properties: 'url': (string) The image url. 'height': (number) The image height. 'width': (number) The image width. 'anchor': (Array) The anchor position of the label text. 'textColor': (string) The text color. 'textSize': (number) The text size. 'backgroundPosition': (string) The position of the backgound x, y.

Author:
Rob Sonke
See Also:
Serialized Form

Constructor Summary
GMarkerClusterStyle()
           
 
Method Summary
 Integer[] getAnchor()
           
 String getBackgroundPosition()
           
 Integer getHeight()
           
 String getJSconstructor()
           
 String getTextColor()
           
 Integer getTextSize()
           
 String getUrl()
           
 Integer getWidth()
           
 GMarkerClusterStyle setAnchor(Integer[] anchor)
           
 GMarkerClusterStyle setBackgroundPosition(String backgroundPosition)
           
 GMarkerClusterStyle setHeight(Integer height)
           
 GMarkerClusterStyle setTextColor(String textColor)
           
 GMarkerClusterStyle setTextSize(Integer textSize)
           
 GMarkerClusterStyle setUrl(String url)
           
 GMarkerClusterStyle setWidth(Integer width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMarkerClusterStyle

public GMarkerClusterStyle()
Method Detail

getJSconstructor

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

getUrl

public String getUrl()

setUrl

public GMarkerClusterStyle setUrl(String url)

getHeight

public Integer getHeight()

setHeight

public GMarkerClusterStyle setHeight(Integer height)

getWidth

public Integer getWidth()

setWidth

public GMarkerClusterStyle setWidth(Integer width)

getAnchor

public Integer[] getAnchor()

setAnchor

public GMarkerClusterStyle setAnchor(Integer[] anchor)

getTextColor

public String getTextColor()

setTextColor

public GMarkerClusterStyle setTextColor(String textColor)

getTextSize

public Integer getTextSize()

setTextSize

public GMarkerClusterStyle setTextSize(Integer textSize)

getBackgroundPosition

public String getBackgroundPosition()

setBackgroundPosition

public GMarkerClusterStyle setBackgroundPosition(String backgroundPosition)


Copyright © 2014. All rights reserved.