Class FeatureCollectionRenderer

java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.FeatureCollectionRenderer
All Implemented Interfaces:
Renderer
Direct Known Subclasses:
AbstractSelectionRenderer, LayerRenderer

public abstract class FeatureCollectionRenderer extends Object implements Renderer
  • Constructor Details

  • Method Details

    • clearImageCache

      public void clearImageCache()
      Specified by:
      clearImageCache in interface Renderer
    • isRendering

      public boolean isRendering()
      Specified by:
      isRendering in interface Renderer
    • getContentID

      public Object getContentID()
      Specified by:
      getContentID in interface Renderer
      Returns:
      contentID which identifies this Renderer by what it draws
    • copyTo

      public void copyTo(Graphics2D graphics)
      Specified by:
      copyTo in interface Renderer
    • createRunnable

      public Runnable createRunnable()
      Specified by:
      createRunnable in interface Renderer
      Returns:
      null if no rendering work needs to be done
    • useImageCaching

      protected boolean useImageCaching(Map<Layer, List<Feature>> layerToFeaturesMap)
    • layerToFeaturesMap

      protected abstract Map<Layer, Collection<Feature>> layerToFeaturesMap()
    • styles

      protected abstract Collection<Style> styles()
    • cancel

      public void cancel()
      Specified by:
      cancel in interface Renderer
    • getMaxFeatures

      public int getMaxFeatures()
      Returns:
      Returns the number of maxFeatures to render as vector graphic.
    • setMaxFeatures

      public void setMaxFeatures(int maxFeatures)
      Parameters:
      maxFeatures - The maximum number of Features to render as vector graphic.
    • getSimpleFeatureCollectionRenderer

      public SimpleFeatureCollectionRenderer getSimpleFeatureCollectionRenderer()
      Returns:
      Returns the simpleFeatureCollectionRenderer.