|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTagSupport
com.lamatek.tags.google.GoogleMapPolygonTag
public class GoogleMapPolygonTag
GoogleMapPolygonTag This class represents a <googlemaps;polygon> tag. Developers should not subclass or override this class or it's methods.
| Constructor Summary | |
|---|---|
GoogleMapPolygonTag()
|
|
| Method Summary | |
|---|---|
void |
addEvent(GoogleMapEventTag event)
Adds an event listener to this overlay. |
int |
doStartTag()
Overrides doStartTag() in TagSupport. |
java.lang.String |
getColor()
Returns the color used to draw this line, in hexadecimal format. |
java.util.Vector |
getEvents()
Returns the list of currently registered event listeners for this overlay. |
java.lang.String |
getId()
Returns this overlays unique id. |
float |
getOpacity()
Returns the current opacity level (0-1) of the line. |
java.lang.String |
getPoint(int p)
Returns the point located at the given iteration. |
java.lang.String |
getPointlist()
Returns a comma separated list of point ids that generate this line. |
int |
getWeight()
Returns the current width (in pixels) if the line. |
int |
pointCount()
Returns the number of points that make up this line or 0 if none are specified. |
void |
setColor(java.lang.String color)
Sets the color used to draw this overlay. |
void |
setId(java.lang.String id)
Set the unique id for this polygon. |
void |
setOpacity(float opacity)
Sets the 0-1 based opacity of the line. |
void |
setPointlist(java.lang.String pointlist)
Sets the list of point ids that will makeup this line. |
void |
setWeight(int weight)
Sets the weight (width) of the line in pixels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleMapPolygonTag()
| Method Detail |
|---|
public int doStartTag()
public void setColor(java.lang.String color)
color - The color code in hexadecimal format.public void setWeight(int weight)
weight - An int specifying line width in pixels.public float getOpacity()
public void setOpacity(float opacity)
opacity - A float from 0-1.public java.lang.String getPointlist()
public void setPointlist(java.lang.String pointlist)
For example: point1, point3, point5, point7
pointlist - A comma separated list of point names, in order.public int pointCount()
public java.lang.String getPoint(int p)
int - The iteration to lookup
public java.lang.String getColor()
public int getWeight()
public void addEvent(GoogleMapEventTag event)
addEvent in interface GoogleMapEventListenerevent - A GoogleMapEventTagpublic java.util.Vector getEvents()
getEvents in interface GoogleMapEventListenerpublic java.lang.String getId()
public void setId(java.lang.String id)
id - A unique identifier for this polygon.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||