org.estouro.theme
Class VectorialDataSourceAdapter

java.lang.Object
  extended by com.iver.cit.gvsig.fmap.layers.VectorialAdapter
      extended by org.estouro.theme.VectorialDataSourceAdapter
All Implemented Interfaces:
com.iver.cit.gvsig.fmap.layers.ReadableVectorial

public class VectorialDataSourceAdapter
extends com.iver.cit.gvsig.fmap.layers.VectorialAdapter


Field Summary
 
Fields inherited from class com.iver.cit.gvsig.fmap.layers.VectorialAdapter
driver
 
Constructor Summary
VectorialDataSourceAdapter(com.hardcode.gdbms.engine.data.SpatialDataSource ds)
           
 
Method Summary
 java.awt.geom.Rectangle2D getFullExtent()
           
 com.hardcode.gdbms.engine.data.DataSource getRecordset()
           
 com.iver.cit.gvsig.fmap.core.IGeometry getShape(int index)
           
 int getShapeCount()
           
 int getShapeType()
           
 void start()
           
 void stop()
           
 
Methods inherited from class com.iver.cit.gvsig.fmap.layers.VectorialAdapter
closeIndexFile, createIndex, getDriver, getDriverAttributes, getFeature, getImageIcon, getIndexFile, getShapeInfo, hasIndex, openIndexFile, setDriver, setShapeInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorialDataSourceAdapter

public VectorialDataSourceAdapter(com.hardcode.gdbms.engine.data.SpatialDataSource ds)
                           throws com.hardcode.gdbms.engine.data.driver.DriverException
Throws:
com.hardcode.gdbms.engine.data.driver.DriverException
Method Detail

getRecordset

public com.hardcode.gdbms.engine.data.DataSource getRecordset()
                                                       throws com.hardcode.driverManager.DriverLoadException
Specified by:
getRecordset in class com.iver.cit.gvsig.fmap.layers.VectorialAdapter
Throws:
com.hardcode.driverManager.DriverLoadException

start

public void start()
           throws com.iver.cit.gvsig.fmap.drivers.DriverIOException
Throws:
com.iver.cit.gvsig.fmap.drivers.DriverIOException

stop

public void stop()
          throws com.iver.cit.gvsig.fmap.drivers.DriverIOException
Throws:
com.iver.cit.gvsig.fmap.drivers.DriverIOException

getShape

public com.iver.cit.gvsig.fmap.core.IGeometry getShape(int index)
                                                throws com.iver.cit.gvsig.fmap.drivers.DriverIOException
Throws:
com.iver.cit.gvsig.fmap.drivers.DriverIOException

getShapeCount

public int getShapeCount()
                  throws com.iver.cit.gvsig.fmap.drivers.DriverIOException
Throws:
com.iver.cit.gvsig.fmap.drivers.DriverIOException

getFullExtent

public java.awt.geom.Rectangle2D getFullExtent()
                                        throws com.iver.cit.gvsig.fmap.drivers.DriverIOException
Throws:
com.iver.cit.gvsig.fmap.drivers.DriverIOException

getShapeType

public int getShapeType()
                 throws com.iver.cit.gvsig.fmap.drivers.DriverIOException
Throws:
com.iver.cit.gvsig.fmap.drivers.DriverIOException


Copyright © 2005-2006 Fernando González Cortés. All Rights Reserved.