public interface ColorTableLibrary
| Modifier and Type | Method and Description |
|---|---|
ColorItem |
createColorItem()
Creates a new ColorItem
|
ColorTable |
createColorTable()
Creates an empty color table
|
java.lang.String[] |
getFormats()
Lista de formatos soportados por RasterLegendIO
|
java.util.ArrayList<java.lang.String> |
getPaletteFileList(java.lang.String palettesBasePath)
Devuelve la lista de ficheros de paletas, si no existe el fichero creara
una paleta por defecto y la devolvera.
|
java.lang.String |
loadPalette(java.lang.String palettesBasePath,
java.lang.String paletteFileName,
java.util.ArrayList<ColorItem> items)
Lee una paleta del fichero xml de paletas y la carga en la tabla del panel.
|
void |
save_to_1_1(java.lang.String palettesBasePath,
ColorTable colorTable)
Si existe la version de paleta 1.0, la actualizara a la 1.1 y renombrará la
antigua version.
|
ColorTable createColorTable()
ColorItem createColorItem()
java.util.ArrayList<java.lang.String> getPaletteFileList(java.lang.String palettesBasePath)
throws FilePaletteException
palettesBasePath - FilePaletteExceptionjava.lang.String loadPalette(java.lang.String palettesBasePath,
java.lang.String paletteFileName,
java.util.ArrayList<ColorItem> items)
throws FilePaletteException
palettesPath - Camino al fichero de paletas predefinidas.paletteName - Nombre de paleta a cargar desde el fichero xml.FilePaletteExceptionvoid save_to_1_1(java.lang.String palettesBasePath,
ColorTable colorTable)
palettesBasePath - colorTable - java.lang.String[] getFormats()