com.partnersoft.maps.render
Class RenderLegendOld

java.lang.Object
  extended by com.partnersoft.maps.render.RenderLegendOld

public class RenderLegendOld
extends java.lang.Object

Copy of legend optimized for rendering for a specific scale.

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Field Summary
 int lod
           
 MapSet mapSet
           
 PointStyle[] pointToStyle
           
 PolylineStyle[] polygonToStyle
           
 PolylineStyle[] polylineToStyle
           
 LegendScaleRegion region
           
 float scaleThreshold
           
 TextStyle[] textToStyle
           
 
Constructor Summary
RenderLegendOld(Legend legend, LegendScaleRegion region, MapSet mapSet, RoverSet roverSet, boolean fillInBlanks, boolean printing)
           
 
Method Summary
 java.lang.String fillInStyle(Legend legend, float threshold, java.lang.String type)
          Finds a visible style (for detail/highlight display) in another legend "nearest" the given threshold.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapSet

public MapSet mapSet

scaleThreshold

public float scaleThreshold

lod

public int lod

polygonToStyle

public PolylineStyle[] polygonToStyle

polylineToStyle

public PolylineStyle[] polylineToStyle

pointToStyle

public PointStyle[] pointToStyle

textToStyle

public TextStyle[] textToStyle

region

public LegendScaleRegion region
Constructor Detail

RenderLegendOld

public RenderLegendOld(Legend legend,
                       LegendScaleRegion region,
                       MapSet mapSet,
                       RoverSet roverSet,
                       boolean fillInBlanks,
                       boolean printing)
Method Detail

fillInStyle

public java.lang.String fillInStyle(Legend legend,
                                    float threshold,
                                    java.lang.String type)
Finds a visible style (for detail/highlight display) in another legend "nearest" the given threshold.