|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.SimpleDataSource
gistoolkit.datasources.imagefile.ImageFileDataSource
Provides the ability to display an image file as part of the map.
Field Summary |
Fields inherited from class gistoolkit.datasources.SimpleDataSource |
|
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ImageFileDataSource()
Creates new ImageFileDataSource |
Method Summary | |
Envelope |
getImageEnvelope()
Return the envelope in world coordinates of the map. |
java.io.File |
getImageFile()
Return the file representing the image. |
Node |
getNode()
Get the configuration information for this layer. |
Style |
getStyle()
Get the style to use with this datasource. |
boolean |
imageUpdate(java.awt.Image image,
int param,
int param2,
int param3,
int param4,
int param5)
|
Envelope |
loadEnvelope(java.io.File inImageFile)
Check for a world file from which to load the Envelope. |
GISDataset |
readDataset()
Reads all the objects from the data source. |
GISDataset |
readDataset(Envelope inEnvelope)
Reads only the objects from the data source that intersect these envelope. |
Envelope |
readEnvelope()
Returns the bounding rectangle of all the shapes in the Data Source. |
protected GISDataset |
readShapes(Envelope inEnvelope)
This method should return the shapes from the data source |
void |
setFromProjection(Projection inProjection)
Set the projection from which this data should be projected. |
void |
setImageEnvelope(Envelope inEnvelope)
Set the enxtents of the image in world coordinates. |
void |
setImageFile(java.io.File inImageFile)
Set the name of the file. |
void |
setNode(Node inNode)
Set the configuration information for this layer. |
Methods inherited from class gistoolkit.datasources.SimpleDataSource |
addDataSourceListener, clearCache, commit, delete, doCommit, doDelete, doInsert, doRollback, doUpdate, filterDataset, fireCommit, fireDelete, fireInsert, fireRead, fireRollBack, fireUpdate, getCached, getCacheDataset, getCacheEnvelope, getEnvelope, getFilter, getFromProjection, getName, getToProjection, getValidShapeTypes, insert, isCachedProjected, isUpdateable, projectBackward, projectForward, queryFromCache, removeDataSourceListener, rollback, setCache, setCached, setFilter, setName, setProjection, setToProjection, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageFileDataSource()
Method Detail |
public Envelope getImageEnvelope()
public void setImageEnvelope(Envelope inEnvelope)
public java.io.File getImageFile()
public void setImageFile(java.io.File inImageFile) throws java.lang.Exception
java.lang.Exception
public void setFromProjection(Projection inProjection) throws java.lang.Exception
setFromProjection
in interface DataSource
setFromProjection
in class SimpleDataSource
java.lang.Exception
public Node getNode()
getNode
in interface DataSource
getNode
in class SimpleDataSource
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface DataSource
setNode
in class SimpleDataSource
java.lang.Exception
public Envelope readEnvelope() throws java.lang.Exception
readEnvelope
in class SimpleDataSource
java.lang.Exception
public GISDataset readDataset(Envelope inEnvelope) throws java.lang.Exception
readDataset
in interface DataSource
readDataset
in class SimpleDataSource
java.lang.Exception
public GISDataset readDataset() throws java.lang.Exception
readDataset
in interface DataSource
readDataset
in class SimpleDataSource
java.lang.Exception
protected GISDataset readShapes(Envelope inEnvelope) throws java.lang.Exception
readShapes
in class SimpleDataSource
java.lang.Exception
public Envelope loadEnvelope(java.io.File inImageFile)
public boolean imageUpdate(java.awt.Image image, int param, int param2, int param3, int param4, int param5)
imageUpdate
in interface java.awt.image.ImageObserver
public Style getStyle()
getStyle
in interface DataSource
getStyle
in class SimpleDataSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |