com.partnersoft.formats.kml
Class KmlLineStyle

java.lang.Object
  extended by com.partnersoft.formats.kml.KmlStyle
      extended by com.partnersoft.formats.kml.KmlLineStyle
All Implemented Interfaces:
KmlObject

public class KmlLineStyle
extends KmlStyle

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Rich Stepanski

Constructor Summary
KmlLineStyle()
           
KmlLineStyle(java.lang.String id, java.lang.String color, double lineWidth)
           
 
Method Summary
 double getLineWidth()
           
 void setLineWidth(double lineWidth)
          Width of line in pixels.
 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

KmlLineStyle

public KmlLineStyle(java.lang.String id,
                    java.lang.String color,
                    double lineWidth)
Parameters:
id -
color -
lineWidth -

KmlLineStyle

public KmlLineStyle()
Method Detail

write

public void write(XmlBuilder writer)
           throws java.io.IOException
Description copied from interface: KmlObject
Object writes itself to the passed writer in the correct format for the object based on it's fields.

Specified by:
write in interface KmlObject
Overrides:
write in class KmlStyle
Parameters:
writer - - Writer to write kml to.
Throws:
java.io.IOException - - Thrown if an error occurs while writing.

getLineWidth

public double getLineWidth()

setLineWidth

public void setLineWidth(double lineWidth)
Width of line in pixels.

Parameters:
lineWidth -