com.vividsolutions.jump.workbench.ui.renderer
Class LayerRenderer

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.FeatureCollectionRenderer
      extended by com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer
All Implemented Interfaces:
Renderer

public class LayerRenderer
extends FeatureCollectionRenderer


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vividsolutions.jump.workbench.ui.renderer.Renderer
Renderer.Factory
 
Field Summary
static java.lang.String ALWAYS_USE_IMAGE_CACHING_KEY
           
 
Constructor Summary
LayerRenderer(Layer layer, LayerViewPanel panel)
           
 
Method Summary
 void copyTo(java.awt.Graphics2D graphics)
           
 java.lang.Runnable createRunnable()
           
static boolean render(Layerable layerable, LayerViewPanel panel)
           
static boolean withinVisibleScaleRange(Layerable layerable, LayerViewPanel panel)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.FeatureCollectionRenderer
cancel, clearImageCache, getContentID, isRendering
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALWAYS_USE_IMAGE_CACHING_KEY

public static final java.lang.String ALWAYS_USE_IMAGE_CACHING_KEY
Constructor Detail

LayerRenderer

public LayerRenderer(Layer layer,
                     LayerViewPanel panel)
Method Detail

createRunnable

public java.lang.Runnable createRunnable()
Specified by:
createRunnable in interface Renderer
Overrides:
createRunnable in class FeatureCollectionRenderer
Returns:
null if no rendering work needs to be done

copyTo

public void copyTo(java.awt.Graphics2D graphics)
Specified by:
copyTo in interface Renderer
Overrides:
copyTo in class FeatureCollectionRenderer

render

public static boolean render(Layerable layerable,
                             LayerViewPanel panel)

withinVisibleScaleRange

public static boolean withinVisibleScaleRange(Layerable layerable,
                                              LayerViewPanel panel)