|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.rendering.ColorRamp
Rampa de colores para el dibujado de Raster.
Constructor Summary | |
ColorRamp()
|
Method Summary | |
Legend |
cloneLegend()
Clona la leyenda. |
static ColorRamp |
createFromXML(XMLEntity xml)
Crea un ColorRamp a partir del XMLEntity. |
java.awt.Color |
getColor(double d)
Devuelve el color a partir del número. |
FSymbol |
getDefaultSymbol()
Obtiene el símbolo por defecto de la leyenda |
java.lang.String[] |
getDescriptions()
Obtiene las descripciones de las clases que hay en la clasificación |
FStyle2D |
getSymbol(double d)
Devuelve el símbolo a partir de un número. |
FSymbol[] |
getSymbols()
Obtiene los símbolos de cada clase de la clasificación para el usuario. |
java.lang.Object[] |
getValues()
Obtiene los valores relacionados con cada clase de la clasificación |
XMLEntity |
getXMLEntity()
Devuelve el XMLEntity. |
void |
setDefaultSymbol(FStyle2D s)
Establece el símbolo por defecto del Legend. |
void |
setFirstPoint(double d,
java.awt.Color c)
Inserta el número inicial y el color inicial. |
void |
setLastPoint(double d,
java.awt.Color c)
Inserta el Número fianl y el color final. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ColorRamp()
Method Detail |
public void setFirstPoint(double d, java.awt.Color c)
d
- Número inicial.c
- Color inicial.public void setLastPoint(double d, java.awt.Color c)
d
- Número final.c
- Color final.public java.awt.Color getColor(double d)
d
- Número.
public java.lang.String[] getDescriptions()
ClassifiedLegendInfo
getDescriptions
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getDescriptions()
public FSymbol[] getSymbols()
ClassifiedLegendInfo
getSymbols
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getSymbols()
public java.lang.Object[] getValues()
ClassifiedLegendInfo
getValues
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getValues()
public FSymbol getDefaultSymbol()
Legend
getDefaultSymbol
in interface Legend
Legend.getDefaultSymbol()
public FStyle2D getSymbol(double d)
RasterLegend
getSymbol
in interface RasterLegend
d
- número.
RasterLegend.getSymbol(double)
public void setDefaultSymbol(FStyle2D s)
RasterLegend
setDefaultSymbol
in interface RasterLegend
s
- Símbolo.RasterLegend.setDefaultSymbol(com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D)
public XMLEntity getXMLEntity()
Legend
getXMLEntity
in interface Legend
Legend.getXMLEntity()
public static ColorRamp createFromXML(XMLEntity xml)
xml
- XMLEntity.
public Legend cloneLegend()
Legend
cloneLegend
in interface Legend
Legend.cloneLegend()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |