| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
java.util.List<LegendScaleRegion> |
scaleRegions |
| Modifier and Type | Method and Description |
|---|---|
void |
addScaleRegion(int lod,
double scaleThreshold) |
java.lang.String |
getFullDescription() |
double |
getMinimumScaleForLOD(MapSpaceLegend legend,
int LOD) |
java.lang.String |
getName() |
int |
getScaleRegionIndex(double scale) |
java.util.List<LegendScaleRegion> |
getScaleRegions() |
java.util.List<java.lang.String> |
listGraphicTypes()
Returns a list of all graphic types referenced in this legend.
|
void |
removeGraphicType(java.lang.String graphicType) |
LegendScaleRegion |
scaleRegionFor(double scale) |
void |
setName(java.lang.String name) |
void |
setScaleRegions(java.util.List<LegendScaleRegion> scaleRegions) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
public java.lang.String name
public java.util.List<LegendScaleRegion> scaleRegions
public Legend()
public Legend(Cog state)
public void addScaleRegion(int lod,
double scaleThreshold)
public void removeGraphicType(java.lang.String graphicType)
public Cog toCog()
CoggableCog.public LegendScaleRegion scaleRegionFor(double scale)
public java.lang.String getFullDescription()
public int getScaleRegionIndex(double scale)
public double getMinimumScaleForLOD(MapSpaceLegend legend, int LOD)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.List<LegendScaleRegion> getScaleRegions()
public void setScaleRegions(java.util.List<LegendScaleRegion> scaleRegions)
public java.util.List<java.lang.String> listGraphicTypes()