|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjp.sf.mapswidgets.Icon
public final class Icon
Instances of this class represent the image used to display a marker on the map.
See Google Maps API documentation [Class Reference > GIcon].
Marker| Constructor Summary | |
|---|---|
Icon()
Construct a new instance of this class. |
|
Icon(Icon copyFrom)
Construct a new instance of this class given the icon. |
|
Icon(java.lang.String imageURL,
Size imageSize,
java.lang.String shadowImageURL,
Size shadowImageSize,
Point offsetOfMarker)
Construct a new instance of this class given the mandatory values. |
|
| Method Summary | |
|---|---|
int[] |
getClickArea()
Get the click area to capture non-IE browsers click events. |
java.lang.String |
getClickAreImageURL()
Get the click area image URL to capture IE click events. |
Size |
getImageSize()
Get the image size. |
java.lang.String |
getImageURL()
Get the image URL. |
Point |
getOffsetOfInfoWindow()
Get the offset of the marker info window. |
Point |
getOffsetOfMarker()
Get the offset of the marker. |
java.lang.String |
getPrintImageURL()
Get the print image URL. |
java.lang.String |
getPrintImageURLForMozilla()
Get the print image URL for Firefox/Mozilla. |
java.lang.String |
getPrintShadowImageURL()
Get the print shadow image URL. |
Size |
getShadowImageSize()
Get the shadow image size. |
java.lang.String |
getShadowImageURL()
Get the shadow image URL. |
void |
setClickArea(int[] clickArea)
Set the click area to capture non-IE browsers click events. |
void |
setClickAreImageURL(java.lang.String clickAreImageURL)
Set the click area image URL to capture IE click events. |
void |
setImageSize(Size imageSize)
Set the image size. |
void |
setImageURL(java.lang.String imageURL)
Set the image URL. |
void |
setOffsetOfInfoWindow(Point offsetOfInfoWindow)
Set the offset of the marker info window. |
void |
setOffsetOfMarker(Point offsetOfMarker)
Set the offset of the marker. |
void |
setPrintImageURL(java.lang.String printImageURL)
Set the print image URL. |
void |
setPrintImageURLForMozilla(java.lang.String printImageURLForMozilla)
Set the print image URL for Firefox/Mozilla. |
void |
setPrintShadowImageURL(java.lang.String printShadowImageURL)
Set the print shadow image URL. |
void |
setShadowImageSize(Size shadowImageSize)
Set the shadow image size. |
void |
setShadowImageURL(java.lang.String shadowImageURL)
Set the shadow image URL. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Icon()
public Icon(Icon copyFrom)
copyFrom - the base icon
public Icon(java.lang.String imageURL,
Size imageSize,
java.lang.String shadowImageURL,
Size shadowImageSize,
Point offsetOfMarker)
imageURL - the icon image URLimageSize - the icon image sizeshadowImageURL - the shadow icon image URLshadowImageSize - the shadow icon image sizeoffsetOfMarker - the offset of the marker| Method Detail |
|---|
public int[] getClickArea()
See Google Maps API documentation [Class Reference > GIcon > imageMap].
public java.lang.String getClickAreImageURL()
See Google Maps API documentation [Class Reference > GIcon > transparent].
public Size getImageSize()
See Google Maps API documentation [Class Reference > GIcon > iconSize].
public java.lang.String getImageURL()
See Google Maps API documentation [Class Reference > GIcon > image].
public Point getOffsetOfInfoWindow()
See Google Maps API documentation [Class Reference > GIcon > iconWindowAnchor].
public Point getOffsetOfMarker()
See Google Maps API documentation [Class Reference > GIcon > iconAnchor].
public java.lang.String getPrintImageURL()
See Google Maps API documentation [Class Reference > GIcon > printImage].
public java.lang.String getPrintImageURLForMozilla()
See Google Maps API documentation [Class Reference > GIcon > mozPrintImage].
public java.lang.String getPrintShadowImageURL()
See Google Maps API documentation [Class Reference > GIcon > printShadow].
public Size getShadowImageSize()
See Google Maps API documentation [Class Reference > GIcon > shadowSize].
public java.lang.String getShadowImageURL()
See Google Maps API documentation [Class Reference > GIcon > shadow].
public void setClickArea(int[] clickArea)
See Google Maps API documentation [Class Reference > GIcon > imageMap].
clickArea - the click areapublic void setClickAreImageURL(java.lang.String clickAreImageURL)
This image should be a 24-bit PNG version of the main icon image with 1% opacity, but the same shape and size as the main icon.
See Google Maps API documentation [Class Reference > GIcon > transparent].
clickAreImageURL - the click area image URLpublic void setImageSize(Size imageSize)
See Google Maps API documentation [Class Reference > GIcon > iconSize].
imageSize - the image sizepublic void setImageURL(java.lang.String imageURL)
See Google Maps API documentation [Class Reference > GIcon > image].
imageURL - the image URLpublic void setOffsetOfInfoWindow(Point offsetOfInfoWindow)
See Google Maps API documentation [Class Reference > GIcon > iconWindowAnchor].
offsetOfInfoWindow - the offset of the marker info windowpublic void setOffsetOfMarker(Point offsetOfMarker)
See Google Maps API documentation [Class Reference > GIcon > iconAnchor].
offsetOfMarker - the offset of the markerpublic void setPrintImageURL(java.lang.String printImageURL)
See Google Maps API documentation [Class Reference > GIcon > printImage].
printImageURL - the print image URLpublic void setPrintImageURLForMozilla(java.lang.String printImageURLForMozilla)
See Google Maps API documentation [Class Reference > GIcon > mozPrintImage].
printImageURLForMozilla - the print image URL for Firefox/Mozillapublic void setPrintShadowImageURL(java.lang.String printShadowImageURL)
See Google Maps API documentation [Class Reference > GIcon > printShadow].
printShadowImageURL - the print shadow image URLpublic void setShadowImageSize(Size shadowImageSize)
See Google Maps API documentation [Class Reference > GIcon > shadowSize].
shadowImageSize - the shadow image sizepublic void setShadowImageURL(java.lang.String shadowImageURL)
See Google Maps API documentation [Class Reference > GIcon > shadow].
shadowImageURL - the shadow image URL
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||