Package org.wicketstuff.gmap.api
Class GMarkerClusterStyle
- java.lang.Object
-
- 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
Constructors Constructor Description GMarkerClusterStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
getJSconstructor
public String getJSconstructor()
- Specified by:
getJSconstructor
in interfaceGValue
- 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)
-
-