com.partnersoft.maps.model
Class LegendScaleRegion

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

public class LegendScaleRegion
extends java.lang.Object
implements Coggable

A range of scales at which an LOD is viewed with certain visibility and style settings.

Copyright 2003-2009 Partner Software, Inc.

Version:
$Id: LegendScaleRegion.java 2114 2009-09-21 20:57:28Z paul $
Author:
Paul Reavis

Field Summary
 int lod
           
 float scaleThreshold
           
 Naming<java.lang.String> visibleStyles
           
 
Constructor Summary
LegendScaleRegion()
           
LegendScaleRegion(Cog state)
           
LegendScaleRegion(float scaleThreshold)
           
LegendScaleRegion(int lod, float scaleThreshold)
           
 
Method Summary
 java.lang.String getFullDescription()
           
 int getLod()
           
 int getLOD()
           
 float getScaleThreshold()
           
 Naming<java.lang.String> getVisibleStyles()
           
 void setLod(int newLod)
           
 void setLOD(int argLod)
           
 void setScaleThreshold(float argScaleThreshold)
           
 void setVisibleStyles(Naming argVisibleStyles)
           
 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
 

Field Detail

lod

public int lod

scaleThreshold

public float scaleThreshold

visibleStyles

public Naming<java.lang.String> visibleStyles
Constructor Detail

LegendScaleRegion

public LegendScaleRegion()

LegendScaleRegion

public LegendScaleRegion(float scaleThreshold)

LegendScaleRegion

public LegendScaleRegion(int lod,
                         float scaleThreshold)

LegendScaleRegion

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

getLOD

public int getLOD()

setLOD

public void setLOD(int argLod)

getLod

public int getLod()

setLod

public void setLod(int newLod)

getScaleThreshold

public float getScaleThreshold()

setScaleThreshold

public void setScaleThreshold(float argScaleThreshold)

getVisibleStyles

public Naming<java.lang.String> getVisibleStyles()

setVisibleStyles

public void setVisibleStyles(Naming argVisibleStyles)

getFullDescription

public java.lang.String getFullDescription()