Class Database

java.lang.Object
  |
  +--uk.ac.leeds.ccg.geotools.SimpleLayer
        |
        +--uk.ac.leeds.ccg.geotools.ShapeLayer
              |
              +--uk.ac.leeds.ccg.geotools.PointLayer
                    |
                    +--Database

public class Database
extends uk.ac.leeds.ccg.geotools.PointLayer


Fields inherited from class uk.ac.leeds.ccg.geotools.PointLayer
ids, points
 
Fields inherited from class uk.ac.leeds.ccg.geotools.ShapeLayer
bbox, bufferScale, lastExtent, lastScale, shapeList, shapeTree, useQuadtree
 
Constructor Summary
Database()
           
Database(java.lang.String name)
           
 
Method Summary
 void convertToRates()
           
 com.sun.java.util.collections.Vector getCases()
           
 uk.ac.leeds.ccg.geotools.GeoData getCaseVals()
           
 double getMaxX()
           
 double getMaxY()
           
 double getMinX()
           
 double getMinY()
           
 com.sun.java.util.collections.Vector getPoints(uk.ac.leeds.ccg.geotools.GeoCircle gc)
           
 com.sun.java.util.collections.Vector getPoints(uk.ac.leeds.ccg.geotools.GeoRectangle gb)
           
 com.sun.java.util.collections.Vector getShapesIn(uk.ac.leeds.ccg.geotools.GeoRectangle box, int mode)
           
 int getTotalObs()
           
 void load(java.io.File f)
           
 void loadText(java.lang.String name)
           
 void save(java.io.File f)
           
 void setup(com.sun.java.util.collections.Vector pv, double overrate)
           
 int totalObs()
           
 
Methods inherited from class uk.ac.leeds.ccg.geotools.PointLayer
addGeoPoint, isScaleBufferImplemented, paintHighlight, paintScaled, scaleChanged
 
Methods inherited from class uk.ac.leeds.ccg.geotools.ShapeLayer
addGeoShape, countFeatures, getBounds, getBoundsOf, getBoundsOf, getGeoShapes, getID, getID, getIDs, getShapes, isExtentSame, isScaleBuffer, setScaleBuffer
 
Methods inherited from class uk.ac.leeds.ccg.geotools.SimpleLayer
addLayerChangedListener, notifyLayerChangedListeners, paintSelection, removeLayerChangedListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Database

public Database()

Database

public Database(java.lang.String name)
Method Detail

getCases

public com.sun.java.util.collections.Vector getCases()

getCaseVals

public uk.ac.leeds.ccg.geotools.GeoData getCaseVals()

setup

public void setup(com.sun.java.util.collections.Vector pv,
                  double overrate)

loadText

public void loadText(java.lang.String name)

convertToRates

public void convertToRates()

totalObs

public final int totalObs()

getTotalObs

public final int getTotalObs()

getMinX

public final double getMinX()

getMaxX

public final double getMaxX()

getMinY

public final double getMinY()

getMaxY

public final double getMaxY()

getPoints

public final com.sun.java.util.collections.Vector getPoints(uk.ac.leeds.ccg.geotools.GeoRectangle gb)

getPoints

public final com.sun.java.util.collections.Vector getPoints(uk.ac.leeds.ccg.geotools.GeoCircle gc)

getShapesIn

public com.sun.java.util.collections.Vector getShapesIn(uk.ac.leeds.ccg.geotools.GeoRectangle box,
                                                        int mode)

save

public void save(java.io.File f)

load

public void load(java.io.File f)