|
||||||||||
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.VectorialUniqueValueLegend
Leyenda vectorial por valores únicos.
Constructor Summary | |
VectorialUniqueValueLegend()
Crea un nuevo VectorialUniqueValueLegend. |
|
VectorialUniqueValueLegend(int shapeType)
Crea un nuevo VectorialUniqueValueLegend. |
Method Summary | |
void |
addSymbol(java.lang.Object key,
FSymbol symbol)
Añade un símbolo. |
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.lang.String |
getFieldName()
Devuelve el nombre del campo. |
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. |
FSymbol |
getSymbol(int recordIndex)
Devuelve el símbolo asociado al objeto que se pasa como parámetro. |
FSymbol |
getSymbolByValue(Value key)
Devuelve un símbolo a partir de su clave. |
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 |
setDataSource(DataSource ds)
Inserta el DataSource. |
void |
setDefaultSymbol(FSymbol s)
Establece el símbolo por defecto del Legend. |
void |
setFieldName(java.lang.String str)
Inserta el nombre del campo. |
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 de campo. |
void |
setLabelRotationField(java.lang.String str)
Inserta rotación. |
void |
setShapeType(int shapeType)
Inserta el tipo de shape. |
void |
setValueSymbol(int id,
FSymbol symbol)
Se usa en la tabla que muestra una leyenda. |
void |
setValueSymbolByID(int id,
FSymbol symbol)
Establece el símbolo para el valor que se pasa como parámetro |
void |
setXMLEntity(XMLEntity xml)
Inserta el XMLEntity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VectorialUniqueValueLegend()
public VectorialUniqueValueLegend(int shapeType)
shapeType
- Tipo de shape.Method Detail |
public void setShapeType(int shapeType)
setShapeType
in interface VectorialLegend
shapeType
- Tipo de shape.public void setValueSymbolByID(int id, FSymbol symbol)
UniqueValueLegend
setValueSymbolByID
in interface UniqueValueLegend
id
- índice.symbol
- símbolo.UniqueValueLegend.setValueSymbolByID(int,
FSymbol)
public void setValueSymbol(int id, FSymbol symbol)
id
- symbol
- public java.lang.Object[] getValues()
ClassifiedLegendInfo
getValues
in interface ClassifiedLegendInfo
ClassifiedLegendInfo.getValues()
public void addSymbol(java.lang.Object key, FSymbol symbol)
UniqueValueLegend
addSymbol
in interface UniqueValueLegend
key
- clave.symbol
- símbolo.UniqueValueLegend.addSymbol(java.lang.Object,
FSymbol)
public void clear()
ClassifiedLegend
clear
in interface ClassifiedLegend
ClassifiedLegend.clear()
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.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 java.lang.String getLabelField()
VectorialLegend
getLabelField
in interface VectorialLegend
com.iver.cit.gvsig.fmap.rendering.Legend#getLabelField()
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 void setFieldName(java.lang.String str)
ClassifiedLegend
setFieldName
in interface ClassifiedLegend
str
- Nombre del campo.com.iver.cit.gvsig.fmap.rendering.ClassifiedLegend#setField()
public FSymbol getSymbol(int recordIndex) throws DriverException
VectorialLegend
getSymbol
in interface VectorialLegend
recordIndex
- índice
DriverException
VectorialLegend.getSymbol(int)
public FSymbol getDefaultSymbol()
Legend
getDefaultSymbol
in interface Legend
Legend.getDefaultSymbol()
public XMLEntity getXMLEntity()
VectorialLegend
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 FSymbol getSymbolByValue(Value key)
UniqueValueLegend
getSymbolByValue
in interface UniqueValueLegend
key
- ID.
public int getShapeType()
VectorialLegend
getShapeType
in interface VectorialLegend
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 |