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()
           
 
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.ArrayList getScaleRegions()
          Gets the value of scaleRegions
 double[] getScaleThresholds()
           
 Cog getState()
           
 java.util.ArrayList 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.ArrayList argScaleRegions)
          Sets the value of scaleRegions
 void setState(Cog newState)
           
 void setZooms(java.util.ArrayList newZooms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapViewLegend

public MapViewLegend()
Method Detail

getState

public Cog getState()
Specified by:
getState in interface Coggable

setState

public void setState(Cog newState)
Specified by:
setState in interface Coggable

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.ArrayList getZooms()

setZooms

public void setZooms(java.util.ArrayList newZooms)

getScaleRegions

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

Returns:
the value of scaleRegions

setScaleRegions

public void setScaleRegions(java.util.ArrayList 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