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 RasterLegend
RasterLegend
RasterLegend createLegend(ColorInterpretation colorInterpretation, Transparency transparency, OperationList filters)
colorInterpretation
- ColorInterpretation
of thistransparency
- Transparency
of this RasterLegend
filters
- A OperationList
to be appliedRasterLegend
ColorTableClass createColorTableClass()
ColorTableClass
ColorTableClass 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)
ColorTable
name
- Name of ColorTable
colorTableClasses
- ColorTableClass
that defined ColorTable
interpolated
- True to apply interpolation to ColorTable
ColorTableIO getColorTableIO()
ColorTableIO
to read and write ColorTable
to
file.ColorTableIO
java.util.List<ColorTableIOFactory> getColorTableIOFactories()
ColorTableIOFactory
.ColorTableIOFactory getColorTableIOFactory(java.lang.String name)
ColorTableIOFactory
with the namename
- Name of registered ColorTableIOFactory
ColorTableIOFactory
with namejava.util.List<<any>> getColorTables(java.io.File folder)
ColorTable
inside folder using registered
ColorTableIOFactory
.folder
- Folder of ColorTable
void 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)
ColorInterpretation
colorInterpretations
- 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.ColorInterpretation
ColorInterpretation createColorInterpretation(java.awt.image.BufferedImage image, java.lang.String prefix)
Transparency createTransparency()
Transparency
Transparency 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()