public interface RasterLegendManager
| Modifier and Type | Method and Description |
|---|---|
ColorInterpretation |
createColorInterpretation(java.awt.image.BufferedImage image,
java.lang.String prefix) |
ColorInterpretation |
createColorInterpretation(java.util.List<java.lang.String> colorInterpretations) |
ColorInterpretation |
createColorInterpretation(java.lang.String definedColorInterpretation)
Creates default color interpretation using
ColorInterpretation
constants. |
ColorInterpretation |
createColorInterpretation(java.lang.String[] colorInterpretations)
Creates an empty
ColorInterpretation |
ColorTable |
createColorTable()
Creates a color table
|
ColorTable |
createColorTable(java.lang.String name,
java.util.List<ColorTableClass> colorTableClasses,
boolean interpolated)
Creates a new
ColorTable |
ColorTableClass |
createColorTableClass() |
ColorTableClass |
createColorTableClass(java.lang.String className,
double value,
double interpolated,
java.awt.Color color)
Creates new instance with values received as parameters.
|
RasterLegend |
createLegend()
Creates a raster legend
|
RasterLegend |
createLegend(ColorInterpretation colorInterpretation)
Creates a raster legend
|
RasterLegend |
createLegend(ColorInterpretation colorInterpretation,
Transparency transparency,
OperationList filters)
Creates a raster legend
|
java.util.List<ColorTableClass> |
createListColorTableClasses(double minimum,
double maximum,
double intervalSize,
java.awt.Color fromColor,
java.awt.Color toColor) |
java.util.List<ColorTableClass> |
createListColorTableClasses(double minimum,
double maximum,
int intervals,
java.awt.Color fromColor,
java.awt.Color toColor) |
MakeColorTable |
createMakeColorTable() |
Transparency |
createTransparency() |
Transparency |
createTransparency(int transparency,
java.util.List<TransparencyRange> transparencyRanges)
Creates a new
Transparency using transparency value and defined
TransparencyRange. |
TransparencyRange |
createTransparencyRange()
Creates an empty
TransparencyRange
TransparencyRange. |
TransparencyRange |
createTransparencyRange(int[] redRange,
int[] greenRange,
int[] blueRange,
int alpha,
boolean isAnd)
Creates a new
TransparencyRange using color ranges
TransparencyRange. |
ColorTableIO |
getColorTableIO()
Gets default
ColorTableIO to read and write ColorTable to
file. |
java.util.List<ColorTableIOFactory> |
getColorTableIOFactories() |
ColorTableIOFactory |
getColorTableIOFactory(java.lang.String name)
Gets registered
ColorTableIOFactory with the name |
java.util.List<<any>> |
getColorTables(java.io.File folder)
Gets
ColorTable inside folder using registered
ColorTableIOFactory. |
void |
registerColorTableIOFactory(java.lang.String name,
ColorTableIOFactory colorTableIOFactory)
Registers
ColorTableIOFactory. |
RasterLegend createLegend()
RasterLegend createLegend(ColorInterpretation colorInterpretation)
colorInterpretation - ColorInterpretation of this RasterLegendRasterLegendRasterLegend createLegend(ColorInterpretation colorInterpretation, Transparency transparency, OperationList filters)
colorInterpretation - ColorInterpretation of thistransparency - Transparency of this RasterLegendfilters - A OperationList to be appliedRasterLegendColorTableClass createColorTableClass()
ColorTableClassColorTableClass createColorTableClass(java.lang.String className, double value, double interpolated, java.awt.Color color)
className - Name of classvalue - Value of classinterpolated - Interpolated valuecolor - Color of classColorTableClass.ColorTable createColorTable()
ColorTable createColorTable(java.lang.String name, java.util.List<ColorTableClass> colorTableClasses, boolean interpolated)
ColorTablename - Name of ColorTablecolorTableClasses - ColorTableClass that defined ColorTableinterpolated - True to apply interpolation to ColorTableColorTableIO getColorTableIO()
ColorTableIO to read and write ColorTable to
file.ColorTableIOjava.util.List<ColorTableIOFactory> getColorTableIOFactories()
ColorTableIOFactory.ColorTableIOFactory getColorTableIOFactory(java.lang.String name)
ColorTableIOFactory with the namename - Name of registered ColorTableIOFactoryColorTableIOFactory with namejava.util.List<<any>> getColorTables(java.io.File folder)
ColorTable inside folder using registered
ColorTableIOFactory.folder - Folder of ColorTablevoid registerColorTableIOFactory(java.lang.String name,
ColorTableIOFactory colorTableIOFactory)
ColorTableIOFactory.name - Name of ColorTableIOFactory to register it.colorTableIOFactory - ColorTableIOFactory to create instances of
ColorTableIO.ColorInterpretation createColorInterpretation(java.lang.String[] colorInterpretations)
ColorInterpretationcolorInterpretations - ColorInterpretation instanceColorInterpretation createColorInterpretation(java.util.List<java.lang.String> colorInterpretations)
ColorInterpretation createColorInterpretation(java.lang.String definedColorInterpretation)
ColorInterpretation
constants.definedColorInterpretation - Defined ColorInterpretation. See constants at
ColorInterpretation interface.ColorInterpretationColorInterpretation createColorInterpretation(java.awt.image.BufferedImage image, java.lang.String prefix)
Transparency createTransparency()
TransparencyTransparency createTransparency(int transparency, java.util.List<TransparencyRange> transparencyRanges)
Transparency using transparency value and defined
TransparencyRange.transparency - Value of transparencytransparencyRanges - List with TransparencyRange that define ranges of
transparency by RGB valuesTransparency instanceTransparencyRange createTransparencyRange()
TransparencyRange
TransparencyRange.TransparencyRange createTransparencyRange(int[] redRange, int[] greenRange, int[] blueRange, int alpha, boolean isAnd)
TransparencyRange using color ranges
TransparencyRange.redRange - greenRange - blueRange - alpha - isAnd - java.util.List<ColorTableClass> createListColorTableClasses(double minimum, double maximum, int intervals, java.awt.Color fromColor, java.awt.Color toColor)
minimum - maximum - intervals - fromColor - toColor - java.util.List<ColorTableClass> createListColorTableClasses(double minimum, double maximum, double intervalSize, java.awt.Color fromColor, java.awt.Color toColor)
minimum - maximum - intervalSize - fromColor - toColor - MakeColorTable createMakeColorTable()