|
|||||||||||
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. |
FSymbol |
getSymbolByFeature(IFeature feat)
|
java.lang.String[] |
getUsedFields()
Se usa para saber antes de dibujar, los campos que vamos a necesitar leer, y leer solo estos. |
void |
setDataSource(com.hardcode.gdbms.engine.data.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 |
setLabelHeightField(java.lang.String fieldName)
|
void |
setLabelRotationField(java.lang.String fieldName)
|
void |
setShapeType(int shapeType)
Inserta el tipo de shape. |
void |
useDefaultSymbol(boolean b)
|
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.legend.Legend |
getDefaultSymbol |
Method Detail |
public void setDataSource(com.hardcode.gdbms.engine.data.DataSource ds) throws com.hardcode.gdbms.engine.instruction.FieldNotFoundException, FMapDriverException
ds
- DataSource.
com.hardcode.gdbms.engine.instruction.FieldNotFoundException
- cuando el campo no se encuentre.
FMapDriverException
- Cuando falle el driver.public FSymbol getSymbol(int recordIndex) throws FMapDriverException
recordIndex
- índice
FMapDriverException
public FSymbol getSymbolByFeature(IFeature feat)
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 void setLabelHeightField(java.lang.String fieldName)
fieldName
- public void setLabelRotationField(java.lang.String fieldName)
fieldName
- public java.lang.String getLabelField()
public java.lang.String getLabelHeightField()
public java.lang.String getLabelRotationField()
public void useDefaultSymbol(boolean b)
public java.lang.String[] getUsedFields()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |