|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTagSupport
com.lamatek.tags.google.GoogleMapInsertTag
public class GoogleMapInsertTag
GoogleMapInsertTag Represents a <googlemaps:insert> tag, which attaches a pannable, zoomable image to the map. Developers should now extend this class or override it's methods.
| Constructor Summary | |
|---|---|
GoogleMapInsertTag()
|
|
| Method Summary | |
|---|---|
void |
addMapType(java.lang.String mapType)
Adds a map type to the allowed list. |
int |
doStartTag()
Overrides doStartTag() in TagSupport. |
int |
getBaseZoom()
Returns the zoom level at which this image should be displayed at fullscale. |
int |
getHeight()
Returns the full scale height (in pixels) of this image. |
java.lang.String |
getId()
Returns the unique id for this insert. |
java.lang.String |
getMapType(int i)
Returns the map type name at the given interation, or null if none exists. |
int |
getMapTypeCount()
Returns the number of map type names that are to display this image insert, or 0 if there are none. |
java.lang.String |
getMapTypes()
Returns the comma separated list of map type names that display this image insert. |
java.lang.String |
getPoint()
Returns the id of the point tag that points to the centerpoint of this image. |
java.lang.String |
getUrl()
Returns the url to the image to attach to the map. |
int |
getWidth()
Returns the full scale width (in pixels) of this image. |
void |
setBaseZoom(int baseZoom)
Sets the base zoom level where the image should be displayed at full scale. |
void |
setHeight(int height)
Sets the full scale height (in pixels) of this image. |
void |
setId(java.lang.String id)
Sets a map unique id for this insert. |
void |
setMapTypes(java.lang.String mapTypes)
Sets the map types that should display this image insert. |
void |
setPoint(java.lang.String point)
Sets the id of the point tag that points to the centerpoing of this image. |
void |
setUrl(java.lang.String url)
Sets the url to the image that is to be attached to the map. |
void |
setWidth(int width)
Sets the full scale width (in pixels) of this image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleMapInsertTag()
| Method Detail |
|---|
public void setId(java.lang.String id)
id - A unique identifier for this insert.public java.lang.String getId()
public int getBaseZoom()
public void setBaseZoom(int baseZoom)
baseZoom - The zoom level this image is displayed at full scale.public int getHeight()
public void setHeight(int height)
height - The height of the image, in pixels.public java.lang.String getPoint()
public void setPoint(java.lang.String point)
point - The id of a point that is part of this map.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - A relative or asolute url to a valid image file.public int getWidth()
public void setWidth(int width)
width - The full-scale width of the image, in pixels.public int doStartTag()
public void addMapType(java.lang.String mapType)
mapType - A map type that should display this image insert.public void setMapTypes(java.lang.String mapTypes)
If you specify no names (by not setting this or passing it 'null') then all registered map types will display the image insert.
mapTypes - A comma separated list of valid map type names.public java.lang.String getMapTypes()
public int getMapTypeCount()
public java.lang.String getMapType(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||