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.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

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

getState

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

setState

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

getLOD

public int getLOD()

setLOD

public void setLOD(int argLod)

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()