|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.layers.FLyrDefault com.iver.cit.gvsig.fmap.layers.FLyrText
Capa de texto.
Constructor Summary | |
FLyrText(java.util.ArrayList arrayLabels)
Crea un nuevo FLyrText. |
Method Summary | |
void |
addLegendListener(LegendListener listener)
Añade un Listener de tipo LegendListener. |
void |
draw(java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
ViewPort viewPort,
Cancellable cancel)
Dibuja la capa |
java.awt.geom.Rectangle2D |
getFullExtent()
Obtiene la extensión completa de la capa |
java.util.ArrayList |
getLabels()
Devuelve un ArrayList con los textos de la capa. |
Legend |
getLegend()
Devuelve la Leyenda. |
int |
getShapeType()
Devuelve el tipo de shape. |
void |
print(java.awt.Graphics2D g,
ViewPort viewPort,
Cancellable cancel)
Dibuja la capa |
void |
removeLegendListener(LegendListener listener)
Borra el Listener que se pasa como parametro de la cola de Listeners. |
void |
setLabels(java.util.ArrayList m_labels)
Inserta los textos de la capa |
void |
setLegend(VectorialLegend r)
Inserta una leyenda de tipo VectorialLegend. |
Methods inherited from class com.iver.cit.gvsig.fmap.layers.FLyrDefault |
addLayerListener, getCoordTrans, getFMap, getLayerText, getMaxScale, getMinScale, getName, getParentLayer, getProjection, getTransparency, getVirtualLayers, getXMLEntity, isActive, isVisible, isWithinScale, load, removeLayerListener, reProject, setActive, setCoordTrans, setLayerText, setMaxScale, setMinScale, setName, setParentLayer, setProjection, setTransparency, setVirtualLayers, setVisible, setXMLEntity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FLyrText(java.util.ArrayList arrayLabels)
arrayLabels
- DOCUMENT ME!Method Detail |
public java.awt.geom.Rectangle2D getFullExtent() throws DriverException
FLayer
getFullExtent
in interface FLayer
DriverException
public void draw(java.awt.image.BufferedImage image, java.awt.Graphics2D g, ViewPort viewPort, Cancellable cancel) throws DriverException
FLayer
draw
in interface FLayer
image
- Imagen utilizada para acelerar el dibujado en pantalla.g
- Graphics2D sobre el que dibujar.viewPort
- Propiedades de la vista.cancel
- PAra poder cancelar el dibujado.
DriverException
public void print(java.awt.Graphics2D g, ViewPort viewPort, Cancellable cancel) throws DriverException
FLayer
print
in interface FLayer
g
- Graphics2D de la impresora sobre el que dibujar.viewPort
- Propiedades de la vista.cancel
-
DriverException
public void setLegend(VectorialLegend r) throws DriverException, FieldNotFoundException
ClassifiableVectorial
setLegend
in interface ClassifiableVectorial
r
- VectorialLegend.
DriverException
FieldNotFoundException
public void addLegendListener(LegendListener listener)
Classifiable
addLegendListener
in interface Classifiable
listener
- public void removeLegendListener(LegendListener listener)
Classifiable
removeLegendListener
in interface Classifiable
listener
- public Legend getLegend()
Classifiable
getLegend
in interface Classifiable
public int getShapeType() throws DriverException
Classifiable
getShapeType
in interface Classifiable
DriverException
public java.util.ArrayList getLabels()
public void setLabels(java.util.ArrayList m_labels)
m_labels
- ArrayList con los textos de la capa.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |