com.partnersoft.maps.translator
Class MapViewLegend

java.lang.Object
  extended by com.partnersoft.maps.translator.MapViewLegend
All Implemented Interfaces:
Coggable

public class MapViewLegend
extends java.lang.Object
implements Coggable


Constructor Summary
MapViewLegend(Cog newState)
           
 
Method Summary
 java.lang.String getBackgroundColorName()
          Gets the value of backgroundColorName
 java.lang.String getForegroundColorName()
          Gets the value of foregroundColorName
 MapViewScaleRegion getHighlightRegion()
           
 double getInitialX()
          Gets the value of initialX
 double getInitialY()
          Gets the value of initialY
 double getMinimumScaleForLOD(int LOD)
           
 java.util.List getScaleRegions()
          Gets the value of scaleRegions
 double[] getScaleThresholds()
           
 java.util.List getZooms()
           
 MapViewScaleRegion regionFor(double scale)
           
 void setBackgroundColorName(java.lang.String argBackgroundColorName)
          Sets the value of backgroundColorName
 void setForegroundColorName(java.lang.String argForegroundColorName)
          Sets the value of foregroundColorName
 void setInitialX(double argInitialX)
          Sets the value of initialX
 void setInitialY(double argInitialY)
          Sets the value of initialY
 void setScaleRegions(java.util.List argScaleRegions)
          Sets the value of scaleRegions
 void setZooms(java.util.List newZooms)
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapViewLegend

public MapViewLegend(Cog newState)
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
Returns:
Cog representing the internal state of this object

regionFor

public MapViewScaleRegion regionFor(double scale)

getHighlightRegion

public MapViewScaleRegion getHighlightRegion()

getScaleThresholds

public double[] getScaleThresholds()

getMinimumScaleForLOD

public double getMinimumScaleForLOD(int LOD)

getInitialX

public double getInitialX()
Gets the value of initialX

Returns:
the value of initialX

setInitialX

public void setInitialX(double argInitialX)
Sets the value of initialX

Parameters:
argInitialX - Value to assign to this.initialX

getInitialY

public double getInitialY()
Gets the value of initialY

Returns:
the value of initialY

setInitialY

public void setInitialY(double argInitialY)
Sets the value of initialY

Parameters:
argInitialY - Value to assign to this.initialY

getZooms

public java.util.List getZooms()

setZooms

public void setZooms(java.util.List newZooms)

getScaleRegions

public java.util.List getScaleRegions()
Gets the value of scaleRegions

Returns:
the value of scaleRegions

setScaleRegions

public void setScaleRegions(java.util.List argScaleRegions)
Sets the value of scaleRegions

Parameters:
argScaleRegions - Value to assign to this.scaleRegions

getBackgroundColorName

public java.lang.String getBackgroundColorName()
Gets the value of backgroundColorName

Returns:
the value of backgroundColorName

setBackgroundColorName

public void setBackgroundColorName(java.lang.String argBackgroundColorName)
Sets the value of backgroundColorName

Parameters:
argBackgroundColorName - Value to assign to this.backgroundColorName

getForegroundColorName

public java.lang.String getForegroundColorName()
Gets the value of foregroundColorName

Returns:
the value of foregroundColorName

setForegroundColorName

public void setForegroundColorName(java.lang.String argForegroundColorName)
Sets the value of foregroundColorName

Parameters:
argForegroundColorName - Value to assign to this.foregroundColorName