|
||||||||||
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.RasterIntervalLegend
Leyenda sobre una clase raster por intervalos.
Constructor Summary | |
RasterIntervalLegend()
|
Method Summary | |
void |
changeInterval(int index,
FInterval newInterval)
Cambia el intervalo index-ésimo del array de intervalos |
void |
clear()
Elimina toda la información de clasificación: intervalos o valores |
Legend |
cloneLegend()
Clona la leyenda. |
static RasterIntervalLegend |
createFromXML(XMLEntity xml)
Crea una RasterIntervalLegend a partir del XMLEntity. |
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 |
java.lang.String |
getFieldName()
Devuelve el nombre del campo. |
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 |
setFieldName(java.lang.String str)
Inserta el nombre del campo. |
void |
setIntervalSymbol(FInterval i,
FStyle2D value)
|
void |
setIntervalSymbol(FInterval i,
FSymbol value)
Establece el símbolo asociado al intervalo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RasterIntervalLegend()
Method Detail |
public void setIntervalSymbol(FInterval i, FStyle2D value)
com.iver.cit.gvsig.fmap.rendering.IntervalLegend#setIntervalSymbol(com.iver.cit.gvsig.fmap.rendering.FInterval,
com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D)
public void changeInterval(int index, FInterval newInterval)
IntervalLegend
changeInterval
in interface IntervalLegend
index
- índice.newInterval
- nuevo intervalo.IntervalLegend.changeInterval(int,
com.iver.cit.gvsig.fmap.rendering.FInterval)
public void clear()
ClassifiedLegend
clear
in interface ClassifiedLegend
ClassifiedLegend.clear()
public java.lang.String getFieldName()
ClassifiedLegend
getFieldName
in interface ClassifiedLegend
ClassifiedLegend.getFieldName()
public void setFieldName(java.lang.String str)
ClassifiedLegend
setFieldName
in interface ClassifiedLegend
str
- Nombre del campo.ClassifiedLegend.setFieldName(String)
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 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 XMLEntity getXMLEntity()
Legend
getXMLEntity
in interface Legend
Legend.getXMLEntity()
public static RasterIntervalLegend createFromXML(XMLEntity xml)
xml
- XMLEntity
public Legend cloneLegend()
Legend
cloneLegend
in interface Legend
Legend.cloneLegend()
public void setIntervalSymbol(FInterval i, FSymbol value)
IntervalLegend
setIntervalSymbol
in interface IntervalLegend
i
- Intervalo.value
- Símbolo.IntervalLegend.setIntervalSymbol(com.iver.cit.gvsig.fmap.rendering.FInterval,
com.iver.cit.gvsig.fmap.core.v02.FSymbol)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |