|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.fmap.legend.SingleSymbolLegend
Constructor Summary | |
SingleSymbolLegend(FSymbol style)
Crea un nuevo SingleSymbolLegend. |
Method Summary | |
Legend |
cloneLegend()
|
FSymbol |
getDefaultSymbol()
Obtiene el símbolo por defecto de la leyenda |
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 str)
Inserta el texto que refleja el alto del campo. |
void |
setLabelRotationField(java.lang.String str)
Inserta el texto que refleja la rotación del campo. |
void |
setShapeType(int shapeType)
Inserta el tipo de shape. |
void |
useDefaultSymbol(boolean b)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SingleSymbolLegend(FSymbol style)
style
- Símbolo.Method Detail |
public void setDefaultSymbol(FSymbol s)
VectorialLegend
setDefaultSymbol
in interface VectorialLegend
s
- Símbolo por defecto.com.iver.cit.gvsig.fmap.rendering.VectorialLegend#setDefaultSymbol(ISymbol)
public java.lang.String getLabelField()
VectorialLegend
getLabelField
in interface VectorialLegend
com.iver.cit.gvsig.fmap.rendering.VectorialLegend#getLabelField()
public void setLabelField(java.lang.String fieldName)
VectorialLegend
setLabelField
in interface VectorialLegend
fieldName
- Nombre del campo.com.iver.cit.gvsig.fmap.rendering.VectorialLegend#setLabelField(int)
public FSymbol getSymbol(int recordIndex)
VectorialLegend
getSymbol
in interface VectorialLegend
recordIndex
- índice
com.iver.cit.gvsig.fmap.rendering.VectorialLegend#getSymbol(int)
public FSymbol getDefaultSymbol()
Legend
getDefaultSymbol
in interface Legend
com.iver.cit.gvsig.fmap.rendering.Legend#getDefaultSymbol()
public Legend cloneLegend()
com.iver.cit.gvsig.fmap.rendering.Legend#cloneLegend()
public void setDataSource(com.hardcode.gdbms.engine.data.DataSource ds)
VectorialLegend
setDataSource
in interface VectorialLegend
ds
- DataSource.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)
setLabelHeightField
in interface VectorialLegend
str
- String.public java.lang.String getLabelRotationField()
VectorialLegend
getLabelRotationField
in interface VectorialLegend
public void setLabelRotationField(java.lang.String str)
setLabelRotationField
in interface VectorialLegend
str
- String.public FSymbol getSymbolByFeature(IFeature feat)
getSymbolByFeature
in interface VectorialLegend
public void useDefaultSymbol(boolean b)
useDefaultSymbol
in interface VectorialLegend
public java.lang.String[] getUsedFields()
VectorialLegend
getUsedFields
in interface VectorialLegend
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |