|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.kml.KmlStyle
com.partnersoft.formats.kml.KmlPolygonStyle
public class KmlPolygonStyle
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
KmlPolygonStyle(java.lang.String id,
java.lang.String color,
boolean fill,
boolean outline)
|
|
| Method Summary | |
|---|---|
boolean |
isFill()
|
boolean |
isOutline()
|
void |
setFill(boolean fill)
If true, polygon is filled. |
void |
setOutline(boolean outline)
If true, uses current lineStyle to outline polygon. |
void |
write(XmlBuilder writer)
Object writes itself to the passed writer in the correct format for the object based on it's fields. |
| Methods inherited from class com.partnersoft.formats.kml.KmlStyle |
|---|
getColor, getIconStyle, getId, getLineStyle, getPolyStyle, setColor, setIconStyle, setId, setLineStyle, setPolygonStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KmlPolygonStyle(java.lang.String id,
java.lang.String color,
boolean fill,
boolean outline)
id - color - fill - outline - | Method Detail |
|---|
public boolean isFill()
public void setFill(boolean fill)
fill - public boolean isOutline()
public void setOutline(boolean outline)
outline -
public void write(XmlBuilder writer)
throws java.io.IOException
KmlObject
write in interface KmlObjectwrite in class KmlStylewriter - - Writer to write kml to.
java.io.IOException - - Thrown if an error occurs while writing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||