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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretationcreateColorInterpretation(BufferedImage image, String prefix) org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretationcreateColorInterpretation(String definedColorInterpretation) org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretationcreateColorInterpretation(String[] coloInterpretations) org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretationcreateColorInterpretation(List<String> coloInterpretations) org.gvsig.raster.lib.legend.api.colortable.ColorTableorg.gvsig.raster.lib.legend.api.colortable.ColorTablecreateColorTable(String name, List<org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass> colorTableClasses, boolean interpolated) org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClassorg.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClasscreateColorTableClass(String className, double value, double interpolated, Color color) org.gvsig.raster.lib.legend.api.RasterLegendorg.gvsig.raster.lib.legend.api.RasterLegendcreateLegend(org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation colorInterpretation) org.gvsig.raster.lib.legend.api.RasterLegendcreateLegend(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) List<org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass> createListColorTableClasses(double minimum, double maximum, double intervalSize, Color fromColor, Color toColor) List<org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass> createListColorTableClasses(double minimum, double maximum, int intervals, Color fromColor, Color toColor) org.gvsig.raster.lib.legend.api.colortable.MakeColorTableorg.gvsig.raster.lib.legend.api.Transparencyorg.gvsig.raster.lib.legend.api.TransparencycreateTransparency(int transparency, List<org.gvsig.raster.lib.legend.api.TransparencyRange> transparencyRanges) org.gvsig.raster.lib.legend.api.TransparencyRangeorg.gvsig.raster.lib.legend.api.TransparencyRangecreateTransparencyRange(int[] redRange, int[] greenRange, int[] blueRange, int alpha, boolean isAnd) org.gvsig.raster.lib.legend.impl.ColorManagerorg.gvsig.raster.lib.legend.api.colortable.ColorTableIOList<org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory> org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactorygetColorTableIOFactory(String name) List<org.apache.commons.lang3.tuple.Pair<File, org.gvsig.raster.lib.legend.api.colortable.ColorTable>> getColorTables(File folder) voidregisterColorTableIOFactory(String name, org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory colorTableIOFactory)
-
Constructor Details
-
DefaultRasterLegendManager
public DefaultRasterLegendManager()
-
-
Method Details
-
createLegend
public org.gvsig.raster.lib.legend.api.RasterLegend createLegend()- Specified by:
createLegendin interfaceorg.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:
createLegendin interfaceorg.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:
createLegendin interfaceorg.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:
getColorTablesin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createColorTable
public org.gvsig.raster.lib.legend.api.colortable.ColorTable createColorTable()- Specified by:
createColorTablein interfaceorg.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:
createColorTablein interfaceorg.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:
createListColorTableClassesin interfaceorg.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:
createListColorTableClassesin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
getColorTableIO
public org.gvsig.raster.lib.legend.api.colortable.ColorTableIO getColorTableIO()- Specified by:
getColorTableIOin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
getColorTableIOFactories
public List<org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory> getColorTableIOFactories()- Specified by:
getColorTableIOFactoriesin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
getColorTableIOFactory
public org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory getColorTableIOFactory(String name) - Specified by:
getColorTableIOFactoryin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
registerColorTableIOFactory
public void registerColorTableIOFactory(String name, org.gvsig.raster.lib.legend.api.colortable.ColorTableIOFactory colorTableIOFactory) - Specified by:
registerColorTableIOFactoryin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createColorTableClass
public org.gvsig.raster.lib.legend.api.colortable.colortableclass.ColorTableClass createColorTableClass()- Specified by:
createColorTableClassin interfaceorg.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:
createColorTableClassin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createColorInterpretation
public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(String[] coloInterpretations) - Specified by:
createColorInterpretationin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createColorInterpretation
public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(List<String> coloInterpretations) - Specified by:
createColorInterpretationin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createColorInterpretation
public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(String definedColorInterpretation) - Specified by:
createColorInterpretationin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createColorInterpretation
public org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation createColorInterpretation(BufferedImage image, String prefix) - Specified by:
createColorInterpretationin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createTransparency
public org.gvsig.raster.lib.legend.api.Transparency createTransparency()- Specified by:
createTransparencyin interfaceorg.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:
createTransparencyin interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createTransparencyRange
public org.gvsig.raster.lib.legend.api.TransparencyRange createTransparencyRange()- Specified by:
createTransparencyRangein interfaceorg.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:
createTransparencyRangein interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
createMakeColorTable
public org.gvsig.raster.lib.legend.api.colortable.MakeColorTable createMakeColorTable()- Specified by:
createMakeColorTablein interfaceorg.gvsig.raster.lib.legend.api.RasterLegendManager
-
getColorManager
public org.gvsig.raster.lib.legend.impl.ColorManager getColorManager()- Specified by:
getColorManagerin interfaceorg.gvsig.raster.lib.legend.impl.RasterLegendManagerServices- Returns:
-