|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.fmap.layer.FLyrDefault
es.prodevelop.gvsig.mobile.fmap.layer.FLyrVect
Capa básica Vectorial.
Constructor Summary | |
FLyrVect()
|
Method Summary | |
void |
clean()
|
void |
draw(java.awt.Graphics2D g,
ViewPort vp)
Dibuja la capa |
void |
drawSelected(java.awt.Graphics2D g,
ViewPort _vp,
FSymbol sym)
|
java.awt.geom.Rectangle2D |
getFullExtent()
Obtiene la extensión completa de la capa |
long |
getId()
|
java.util.ArrayList |
getInfo(java.awt.Point p,
double tolerance,
Cancellable cancel,
java.lang.String srs)
Realiza una consulta por punto en la capa |
Legend |
getLegend()
|
SelectableDataSource |
getRecordset()
Obtiene una referencia a la tabla asociada a la capa |
int |
getShapeType()
|
ReadableVectorial |
getSource()
Método que devuelve el VectorialAdapter que contiene la capa. |
boolean |
isPropertiesMenuVisible()
|
boolean |
isWritable()
|
FBitSet |
queryByPoint(java.awt.geom.Point2D p,
double tolerance)
|
void |
reload()
Intenta recuperar una capa ante un posible error. |
void |
setLegend(VectorialLegend r)
Inserta una leyenda de tipo VectorialLegend. |
void |
setRecordset(SelectableDataSource newSds)
|
void |
setSource(ReadableVectorial rv)
Inserta un VectorialAdapter a la capa. |
java.lang.String |
toString()
|
java.lang.StringBuffer |
toXML(java.lang.String name,
java.lang.String projectPath)
|
void |
wakeUp(boolean driver_is_already_open)
|
Methods inherited from class es.prodevelop.gvsig.mobile.fmap.layer.FLyrDefault |
addError, addLayerListener, getCacheImageDrawnLayers, getCoordTrans, getError, getErrors, getInfoString, getLayerListeners, getMapContext, getMaxScale, getMemo, getMinScale, getName, getNumErrors, getProjection, getProperty, getTransparency, isActive, isAvailable, isCachingDrawnLayers, isDirty, isInfoable, isInTOC, isOk, isVisible, isWithinScale, load, removeLayerListener, setActive, setAvailable, setCacheImageDrawnLayers, setCachingDrawnLayers, setCoordTrans, setDirty, setInfoable, setMapContext, setMaxScale, setMemo, setMinScale, setName, setProjection, setProperty, setTransparency, setVisible, visibleRequired |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FLyrVect()
Method Detail |
public ReadableVectorial getSource()
SingleLayer
getSource
in interface SingleLayer
public void setSource(ReadableVectorial rv)
SingleLayer
setSource
in interface SingleLayer
rv
- VectorialAdapter a insertar.public java.awt.geom.Rectangle2D getFullExtent() throws FMapDriverException
FLayer
getFullExtent
in interface FLayer
FMapDriverException
public void drawSelected(java.awt.Graphics2D g, ViewPort _vp, FSymbol sym) throws FMapDriverException
FMapDriverException
public void draw(java.awt.Graphics2D g, ViewPort vp) throws FMapDriverException
FLayer
draw
in interface FLayer
g
- Graphics2D sobre el que dibujar.vp
- Propiedades de la vista.
FMapDriverException
public FBitSet queryByPoint(java.awt.geom.Point2D p, double tolerance) throws FMapDriverException
FMapDriverException
public java.util.ArrayList getInfo(java.awt.Point p, double tolerance, Cancellable cancel, java.lang.String srs) throws FMapDriverException
InfoByPoint
getInfo
in interface InfoByPoint
p
- Punto que se consulta
FMapDriverException
public void setLegend(VectorialLegend r)
ClassifiableVectorial
setLegend
in interface ClassifiableVectorial
r
- VectorialLegend.public Legend getLegend()
getLegend
in interface Classifiable
public int getShapeType() throws FMapDriverException
getShapeType
in interface Classifiable
FMapDriverException
public java.lang.String toString()
public SelectableDataSource getRecordset() throws FMapDriverException
AlphanumericData
getRecordset
in interface AlphanumericData
FMapDriverException
public void setRecordset(SelectableDataSource newSds)
public boolean isPropertiesMenuVisible()
public void reload() throws FMapDriverException
FLayer
reload
in interface FLayer
reload
in class FLyrDefault
FMapDriverException
public boolean isWritable()
isWritable
in interface FLayer
public void wakeUp(boolean driver_is_already_open)
wakeUp
in interface FLayer
public long getId()
getId
in interface FLayer
public java.lang.StringBuffer toXML(java.lang.String name, java.lang.String projectPath)
toXML
in interface FLayer
public void clean()
clean
in interface FLayer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |