public class GIcon extends Object implements GValue, Cloneable
Constructor and Description |
---|
GIcon() |
GIcon(char character) |
GIcon(String image) |
GIcon(String image,
GSize iconSize,
GPoint iconAnchor) |
GIcon(String image,
GSize iconSize,
GPoint iconAnchor,
GPoint origin,
GSize scaledSize) |
Modifier and Type | Method and Description |
---|---|
GIcon |
clone() |
GPoint |
getAnchor() |
String |
getId() |
String |
getJSconstructor() |
GPoint |
getOrigin() |
GSize |
getScaledSize() |
GSize |
getSize() |
String |
getUrl() |
GIcon |
setAnchor(GPoint anchor)
The position at which to anchor an image in correspondance to the location of the marker on the map.
|
GIcon |
setOrigin(GPoint origin)
The position of the image within a sprite, if any.
|
GIcon |
setScaledSize(GSize scaledSize)
The size of the entire image after scaling, if any.
|
GIcon |
setSchema(String schema) |
GIcon |
setSize(GSize size)
The display size of the sprite or image.
|
public GIcon()
public GIcon(String image)
public GIcon(char character)
public GIcon(String image, GSize iconSize, GPoint iconAnchor, GPoint origin, GSize scaledSize)
public GIcon clone()
clone
in class Object
Object.clone()
public String getId()
public String getJSconstructor()
getJSconstructor
in interface GValue
wicket.contrib.gmap.api.GValue#getJSconstructor()
public GSize getSize()
public GIcon setSize(GSize size)
public GPoint getOrigin()
public GIcon setOrigin(GPoint origin)
public GSize getScaledSize()
public GIcon setScaledSize(GSize scaledSize)
public GPoint getAnchor()
public GIcon setAnchor(GPoint anchor)
public String getUrl()
Copyright © 2015. All rights reserved.