|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.write.EditionSourceAdapter
Constructor Summary | |
EditionSourceAdapter()
|
Method Summary | |
void |
addGeometry(IGeometry g)
Genera un AddCommand, lo ejecuta y lo apila |
void |
compactar()
A lo largo de la edición puede darse que haya features que se modifican y luego que se deshace su modificación . |
void |
deleteGeometry(int id)
Genera un DeleteCommand y lo apila. |
java.awt.geom.Rectangle2D |
getFullExtent()
Devuelve la extensión total de la capa. |
IGeometry |
getShape(int index)
Obtiene la shape i-ésima, independientemente de dónde esté, si en la fuente de datos que se está editando o en uno de los ExtensionFile. |
int |
getShapeCount()
Obtiene el número de features de la capa en edición teniendo en cuenta las geometrias que se han añadido y que las geometrías eliminadas son marcadas pero siguen teniéndose en cuenta. |
int |
getShapeType()
Obtiene el tipo de las geometrías almacenadas en esta fuente de datos |
void |
modify(IGeometry g)
Realiza la modificación de una de las geometrías del ReadableVectorial |
void |
modifyGeometry(int id,
IGeometry g)
Genera un ModifyCommand y lo apila |
void |
setDeleted(int i)
Marca el registro i-ésimo como eliminado |
void |
setNotDeleted()
Marca el registro i-ésimo como no eliminado |
void |
setNotModified(int i)
Marca el registro i-ésimo como no modificado, eliminando |
void |
start()
Abre el ReadableVectorial que está adaptando |
void |
stop()
Cierra el ReadableVectorial que está adaptando |
void |
undo()
Deshace el último comando |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EditionSourceAdapter()
Method Detail |
public void start() throws DriverIOException
start
in interface EditableFeatureSource
DriverIOException
public void stop() throws DriverIOException
stop
in interface EditableFeatureSource
DriverIOException
public IGeometry getShape(int index) throws DriverIOException
getShape
in interface EditableFeatureSource
DriverIOException
public int getShapeCount() throws DriverIOException
getShapeCount
in interface EditableFeatureSource
DriverIOException
public void addGeometry(IGeometry g)
addGeometry
in interface EditableFeatureSource
public void modifyGeometry(int id, IGeometry g)
modifyGeometry
in interface EditableFeatureSource
public void deleteGeometry(int id)
deleteGeometry
in interface EditableFeatureSource
public void undo()
public void setNotModified(int i)
public void setDeleted(int i)
public void setNotDeleted()
public void modify(IGeometry g)
public void compactar()
public java.awt.geom.Rectangle2D getFullExtent() throws DriverIOException
ReadableVectorial
getFullExtent
in interface EditableFeatureSource
DriverIOException
ReadableVectorial.getFullExtent()
public int getShapeType() throws DriverIOException
ReadableVectorial
getShapeType
in interface ReadableVectorial
DriverIOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |