Class DefaultRasterLegendManager

java.lang.Object
org.gvsig.fmap.raster.lib.legend.impl.DefaultRasterLegendManager
All Implemented Interfaces:
org.gvsig.raster.lib.legend.api.RasterLegendManager, org.gvsig.raster.lib.legend.impl.RasterLegendManagerServices

public class DefaultRasterLegendManager extends Object implements org.gvsig.raster.lib.legend.impl.RasterLegendManagerServices
Default implementation of RasterLegendManager.
Author:
Lluis Marques
  • Constructor Details

    • DefaultRasterLegendManager

      public DefaultRasterLegendManager()
  • Method Details

    • createLegend

      public org.gvsig.raster.lib.legend.api.RasterLegend createLegend()
      Specified by:
      createLegend in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createLegend

      public org.gvsig.raster.lib.legend.api.RasterLegend createLegend(org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation colorInterpretation)
      Specified by:
      createLegend in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createLegend

      public org.gvsig.raster.lib.legend.api.RasterLegend createLegend(org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation colorInterpretation, org.gvsig.raster.lib.legend.api.Transparency transparency, org.gvsig.raster.lib.buffer.api.operations.OperationList filters)
      Specified by:
      createLegend in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • getColorTables

      public List<org.apache.commons.lang3.tuple.Pair<File,org.gvsig.raster.lib.legend.api.colortable.ColorTable>> getColorTables(File folder)
      Specified by:
      getColorTables in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorTable

      public org.gvsig.raster.lib.legend.api.colortable.ColorTable createColorTable()
      Specified by:
      createColorTable in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorTable

      public org.gvsig.raster.lib.legend.api.colortable.ColorTable createColorTable(String name, List<org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass> colorTableClasses, boolean interpolated)
      Specified by:
      createColorTable in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createListColorTableClasses

      public List<org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass> createListColorTableClasses(double minimum, double maximum, int intervals, Color fromColor, Color toColor)
      Specified by:
      createListColorTableClasses in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createListColorTableClasses

      public List<org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass> createListColorTableClasses(double minimum, double maximum, double intervalSize, Color fromColor, Color toColor)
      Specified by:
      createListColorTableClasses in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • getColorTableIO

      public org.gvsig.raster.lib.legend.api.colortable.ColorTableIO getColorTableIO()
      Specified by:
      getColorTableIO in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • getColorTableIOFactories

      public List<org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory> getColorTableIOFactories()
      Specified by:
      getColorTableIOFactories in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • getColorTableIOFactory

      public org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory getColorTableIOFactory(String name)
      Specified by:
      getColorTableIOFactory in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • registerColorTableIOFactory

      public void registerColorTableIOFactory(String name, org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory colorTableIOFactory)
      Specified by:
      registerColorTableIOFactory in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorTableClass

      public org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass createColorTableClass()
      Specified by:
      createColorTableClass in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorTableClass

      public org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass createColorTableClass(String className, double value, double interpolated, Color color)
      Specified by:
      createColorTableClass in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorInterpretation

      public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(String[] coloInterpretations)
      Specified by:
      createColorInterpretation in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorInterpretation

      public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(List<String> coloInterpretations)
      Specified by:
      createColorInterpretation in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorInterpretation

      public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(String definedColorInterpretation)
      Specified by:
      createColorInterpretation in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createColorInterpretation

      public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(BufferedImage image, String prefix)
      Specified by:
      createColorInterpretation in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createTransparency

      public org.gvsig.raster.lib.legend.api.Transparency createTransparency()
      Specified by:
      createTransparency in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createTransparency

      public org.gvsig.raster.lib.legend.api.Transparency createTransparency(int transparency, List<org.gvsig.raster.lib.legend.api.TransparencyRange> transparencyRanges)
      Specified by:
      createTransparency in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createTransparencyRange

      public org.gvsig.raster.lib.legend.api.TransparencyRange createTransparencyRange()
      Specified by:
      createTransparencyRange in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createTransparencyRange

      public org.gvsig.raster.lib.legend.api.TransparencyRange createTransparencyRange(int[] redRange, int[] greenRange, int[] blueRange, int alpha, boolean isAnd)
      Specified by:
      createTransparencyRange in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • createMakeColorTable

      public org.gvsig.raster.lib.legend.api.colortable.MakeColorTable createMakeColorTable()
      Specified by:
      createMakeColorTable in interface org.gvsig.raster.lib.legend.api.RasterLegendManager
    • getColorManager

      public org.gvsig.raster.lib.legend.impl.ColorManager getColorManager()
      Specified by:
      getColorManager in interface org.gvsig.raster.lib.legend.impl.RasterLegendManagerServices
      Returns: