|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.kml.KmlStyle
public class KmlStyle
Container and base class for all Kml Style classes.
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
KmlStyle(java.lang.String id)
|
|
KmlStyle(java.lang.String id,
java.lang.String color)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getColor()
|
KmlStyle |
getIconStyle()
|
java.lang.String |
getId()
|
KmlStyle |
getLineStyle()
|
KmlStyle |
getPolyStyle()
|
void |
setColor(java.lang.String color)
Hexadecimal String representing aaRRGGBB. |
void |
setIconStyle(KmlStyle iconStyle)
An IconStyle for this Style container. |
void |
setId(java.lang.String id)
The name used to refer to this style by other KmlObjects. |
void |
setLineStyle(KmlStyle lineStyle)
LineStyle for this Style container |
void |
setPolygonStyle(KmlStyle polyStyle)
PolyStyle for this Style container. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KmlStyle(java.lang.String id,
java.lang.String color)
public KmlStyle(java.lang.String id)
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - public java.lang.String getColor()
public void setColor(java.lang.String color)
color - public KmlStyle getIconStyle()
public void setIconStyle(KmlStyle iconStyle)
iconStyle - public KmlStyle getLineStyle()
public void setLineStyle(KmlStyle lineStyle)
lineStyle - public KmlStyle getPolyStyle()
public void setPolygonStyle(KmlStyle polyStyle)
polyStyle -
public void write(XmlBuilder writer)
throws java.io.IOException
KmlObject
write in interface KmlObjectwriter - - 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 | ||||||||