|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interfaz de Leyenda Vectorial.
Method Summary | |
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. |
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 |
setLabelField(java.lang.String fieldName)
Establece el campo por el que se etiqueta. -1 quita el etiquetado |
void |
setShapeType(int shapeType)
Inserta el tipo de shape. |
void |
setXMLEntity(XMLEntity xml)
Inserta el XMLEntity. |
Methods inherited from interface com.iver.cit.gvsig.fmap.rendering.Legend |
cloneLegend, getDefaultSymbol |
Method Detail |
public void setDataSource(DataSource ds) throws FieldNotFoundException, DriverException
ds
- DataSource.
FieldNotFoundException
- cuando el campo no se encuentre.
DriverException
- Cuando falle el driver.public FSymbol getSymbol(int recordIndex) throws DriverException
recordIndex
- índice
DriverException
public int getShapeType()
public void setShapeType(int shapeType)
shapeType
- Tipo de shape.public void setDefaultSymbol(FSymbol s)
s
- Símbolo por defecto.public void setLabelField(java.lang.String fieldName)
fieldName
- Nombre del campo.public java.lang.String getLabelField()
public java.lang.String getLabelHeightField()
public java.lang.String getLabelRotationField()
public XMLEntity getXMLEntity()
getXMLEntity
in interface Legend
public void setXMLEntity(XMLEntity xml)
xml
- XMLEntity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |