|
||||||||||
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.VectorialIntervalLegend
Leyenda Vectorial por intervalos.
Constructor Summary | |
VectorialIntervalLegend()
Crea un nuevo VectorialIntervalLegend. |
|
VectorialIntervalLegend(int type)
Crea un nuevo VectorialIntervalLegend. |
Method Summary | |
void |
addSymbol(java.lang.Object key,
FSymbol symbol)
|
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. |
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.awt.Color |
getEndColor()
Devuelve el color final. |
java.lang.String |
getFieldName()
Devuelve el nombre del campo. |
FInterval |
getInterval(Value v)
Devuelve el intervalo a partir del valor. |
java.lang.String |
getLabelField()
Obtiene el índice del campo que sirve de etiquetado o -1 si no ha sido etiquetado |
java.lang.String |
getLabelHeightField()
Devuelve el alto de campo. |
java.lang.String |
getLabelRotationField()
Devuelve la rotación. |
int |
getShapeType()
Devuelve el tipo de shape. |
java.awt.Color |
getStartColor()
Devuelve el color inicial. |
FSymbol |
getSymbol(int recordIndex)
Devuelve el símbolo asociado al objeto que se pasa como parámetro. |
FSymbol |
getSymbolByInterval(FInterval key)
Devuelve el símbolo a partir del intervalo. |
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()
DOCUMENT ME! |
void |
setDataSource(DataSource ds)
Inserta el DataSource. |
void |
setDefaultSymbol(FSymbol s)
Establece el símbolo por defecto del Legend. |
void |
setEndColor(java.awt.Color endColor)
Inserta el color final. |
void |
setFieldName(java.lang.String str)
Inserta el nombre del campo. |
void |
setIntervalSymbol(FInterval interval,
FSymbol symbol)
Establece el símbolo asociado al intervalo |
void |
setLabelField(java.lang.String fieldName)
Establece el campo por el que se etiqueta. -1 quita el etiquetado |
void |
setLabelHeightField(java.lang.String str)
Inserta el alto del campo. |
void |
setLabelRotationField(java.lang.String str)
Inserta la rotación del campo. |
void |
setShapeType(int shapeType)
Inserta el tipo de shape. |
void |
setStartColor(java.awt.Color startColor)
Inserta el color inicial. |
void |
setXMLEntity(XMLEntity xml)
Inserta los atributos del XMLEntity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VectorialIntervalLegend()
public VectorialIntervalLegend(int type)
type
- tipo de shape.Method Detail |
public void addSymbol(java.lang.Object key, FSymbol symbol)
UniqueValueLegend.addSymbol(java.lang.Object,
FSymbol)
public FSymbol getSymbol(int recordIndex) throws DriverException
VectorialLegend
getSymbol
in interface VectorialLegend
recordIndex
- índice
DriverException
VectorialLegend.getSymbol(int)
public FSymbol getSymbolByInterval(FInterval key)
key
- intervalo.
public java.lang.String[] getDescriptions()
ClassifiedLegendInfo
getDescriptions
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getDescriptions()
public java.lang.Object[] getValues()
ClassifiedLegendInfo
getValues
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getValues()
public void setIntervalSymbol(FInterval interval, FSymbol symbol)
IntervalLegend
setIntervalSymbol
in interface IntervalLegend
interval
- Intervalo.symbol
- Símbolo.com.iver.cit.gvsig.fmap.rendering.IntervalLegend#setIntervalSymbol(com.iver.cit.gvsig.fmap.rendering.FInterval,
org.geotools.renderer.style.Style2D)
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 FSymbol[] getSymbols()
ClassifiedLegendInfo
getSymbols
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getSymbols()
public java.lang.String getFieldName()
ClassifiedLegend
getFieldName
in interface ClassifiedLegend
ClassifiedLegend.getFieldName()
public void setDefaultSymbol(FSymbol s)
VectorialLegend
setDefaultSymbol
in interface VectorialLegend
s
- Símbolo por defecto.com.iver.cit.gvsig.fmap.rendering.VectorialLegend#setDefaultSymbol(com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D)
public void setFieldName(java.lang.String str)
ClassifiedLegend
setFieldName
in interface ClassifiedLegend
str
- Nombre del campo.ClassifiedLegend.setFieldName(String)
public void setLabelField(java.lang.String fieldName)
VectorialLegend
setLabelField
in interface VectorialLegend
fieldName
- Nombre del campo.com.iver.cit.gvsig.fmap.rendering.Legend#setLabelField(int)
public java.lang.String getLabelField()
VectorialLegend
getLabelField
in interface VectorialLegend
com.iver.cit.gvsig.fmap.rendering.Legend#getLabelField()
public FSymbol getDefaultSymbol()
Legend
getDefaultSymbol
in interface Legend
Legend.getDefaultSymbol()
public XMLEntity getXMLEntity()
getXMLEntity
in interface Legend
Legend.getXMLEntity()
public void setXMLEntity(XMLEntity xml)
setXMLEntity
in interface VectorialLegend
xml
- XMLEntity.public Legend cloneLegend() throws XMLException
Legend
cloneLegend
in interface Legend
XMLException
Legend.cloneLegend()
public void setDataSource(DataSource ds) throws FieldNotFoundException, DriverException
VectorialLegend
setDataSource
in interface VectorialLegend
ds
- DataSource.
DriverException
- Cuando falle el driver.
FieldNotFoundException
public FInterval getInterval(Value v)
v
- valor.
public java.awt.Color getEndColor()
public void setEndColor(java.awt.Color endColor)
endColor
- Color final.public java.awt.Color getStartColor()
public void setStartColor(java.awt.Color startColor)
startColor
- Color inicial.public int getShapeType()
VectorialLegend
getShapeType
in interface VectorialLegend
public void setShapeType(int shapeType)
VectorialLegend
setShapeType
in interface VectorialLegend
shapeType
- Tipo de shape.public java.lang.String getLabelHeightField()
VectorialLegend
getLabelHeightField
in interface VectorialLegend
public void setLabelHeightField(java.lang.String str)
str
- alto.public java.lang.String getLabelRotationField()
VectorialLegend
getLabelRotationField
in interface VectorialLegend
public void setLabelRotationField(java.lang.String str)
str
- Rotación.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |