com.partnersoft.maps.render
Class RenderLegend

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

public class RenderLegend
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
           
 float scaleThreshold
           
 TextStyle[] textToStyle
           
 
Constructor Summary
RenderLegend(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
Constructor Detail

RenderLegend

public RenderLegend(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.