|
||||||||||
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.SingleSymbolLegend
Leyenda se símbolo único.
Constructor Summary | |
SingleSymbolLegend()
Crea un nuevo SingleSymbolLegend. |
|
SingleSymbolLegend(FSymbol style)
Crea un nuevo SingleSymbolLegend. |
Method Summary | |
Legend |
cloneLegend()
Clona la leyenda. |
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. |
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 |
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 |
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 SingleSymbolLegend(FSymbol style)
style
- Símbolo.public SingleSymbolLegend()
Method Detail |
public void setDefaultSymbol(FSymbol s)
VectorialLegend
setDefaultSymbol
in interface VectorialLegend
s
- Símbolo por defecto.VectorialLegend.setDefaultSymbol(FSymbol)
public java.lang.String getLabelField()
VectorialLegend
getLabelField
in interface VectorialLegend
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
VectorialLegend.getSymbol(int)
public FSymbol getDefaultSymbol()
Legend
getDefaultSymbol
in interface Legend
Legend.getDefaultSymbol()
public XMLEntity getXMLEntity()
VectorialLegend
getXMLEntity
in interface VectorialLegend
Legend.getXMLEntity()
public void setXMLEntity(XMLEntity xml)
VectorialLegend
setXMLEntity
in interface VectorialLegend
xml
- XMLEntity.com.iver.cit.gvsig.fmap.rendering.VectorialLegend#setXMLEntity()
public Legend cloneLegend() throws XMLException
Legend
cloneLegend
in interface Legend
XMLException
Legend.cloneLegend()
public void setDataSource(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)
str
- String.public java.lang.String getLabelRotationField()
VectorialLegend
getLabelRotationField
in interface VectorialLegend
public void setLabelRotationField(java.lang.String str)
str
- String.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |