com.partnersoft.maps.model
Class LineDecoration

java.lang.Object
  extended by com.partnersoft.maps.model.Decoration
      extended by com.partnersoft.maps.model.LineDecoration
All Implemented Interfaces:
Coggable

public class LineDecoration
extends Decoration
implements Coggable


Field Summary
 
Fields inherited from class com.partnersoft.maps.model.Decoration
interval, UNIT_INCHES, UNIT_MAP, UNIT_PERCENT, UNIT_PIXELS, unitType
 
Constructor Summary
LineDecoration()
           
LineDecoration(Cog state)
           
 
Method Summary
 double getAngleOffset()
           
 java.lang.String getDecoratorStyle()
           
 java.lang.String getTextValue()
           
 boolean isAutoRotate()
          true - angleOffset is relative from line angle false - angleOffset is absolute
 boolean isTextDecoration()
           
 void setAngleOffset(double angleOffset)
           
 void setAutoRotate(boolean autoRotate)
           
 void setDecoratorStyle(java.lang.String decoratorStyle)
           
 void setTextDecoration(boolean textDecoration)
           
 void setTextValue(java.lang.String textValue)
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class com.partnersoft.maps.model.Decoration
createInterval, getInterval, getUnitType, setInterval, setUnitType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineDecoration

public LineDecoration()

LineDecoration

public LineDecoration(Cog state)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Overrides:
toCog in class Decoration
Returns:
Cog representing the internal state of this object

getAngleOffset

public double getAngleOffset()
Returns:
the Rotation for this decoration

isAutoRotate

public boolean isAutoRotate()
true - angleOffset is relative from line angle false - angleOffset is absolute

Returns:
autoRotate value

getDecoratorStyle

public java.lang.String getDecoratorStyle()
Returns:
the Name of style for decorating

isTextDecoration

public boolean isTextDecoration()

getTextValue

public java.lang.String getTextValue()

setAngleOffset

public void setAngleOffset(double angleOffset)

setAutoRotate

public void setAutoRotate(boolean autoRotate)

setDecoratorStyle

public void setDecoratorStyle(java.lang.String decoratorStyle)

setTextDecoration

public void setTextDecoration(boolean textDecoration)

setTextValue

public void setTextValue(java.lang.String textValue)