|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.views.background.IlpShapeFileBackground
public class IlpShapeFileBackground
Provides support for using ESRI .shp Shape files as background.
This background loader reads:
.shp.
.dbf (optional),
.shx, and the ILOG JViews spatial index file,
with extension .idx (optional).
See also: the ILOG JViews demo demos/maps/esri, which can
be used to create the spatial index (.idx) files, and
the ILOG JViews package ilog.views.maps.format.shapefile.
The XML settable properties are:
property name="url" (required).shp file. The other three files are expected
to be located in the same directory.property name="loadOnDemand" (optional)
| Field Summary | |
|---|---|
protected URL |
dbfURL
Deprecated. |
protected URL |
idxURL
Deprecated. |
protected boolean |
loadOnDemand
Deprecated. |
protected URL |
shpURL
Deprecated. |
protected URL |
shxURL
Deprecated. |
protected boolean |
useLoadOnDemand
Deprecated. |
| Constructor Summary | |
|---|---|
IlpShapeFileBackground()
Deprecated. |
|
| Method Summary | |
|---|---|
protected URL |
addExtension(String base,
String extension)
Deprecated. |
protected URL |
checkExists(URL url)
Deprecated. |
IlvManagerLayer |
createLayer(IlpViewsView view,
URL SHPfileURL)
Deprecated. Creates an empty IlvManagerLayer suitable for a .shp file. |
protected IlvFeatureRenderer |
createRenderer(IlpViewsView view,
URL SHPfileURL,
IlvMapFeatureIterator reader)
Deprecated. Creates a renderer for the attributes of the map. |
void |
fillLayer(IlpViewsView view,
URL SHPfileURL,
IlvManagerLayer layer)
Deprecated. Fills a layer with a .shp file. |
boolean |
isLoadOnDemand()
Deprecated. Returns true if the memory saving technique of
load-on-demand is enabled. |
void |
setLoadOnDemand(boolean on)
Deprecated. Enables or disables load-on-demand. |
protected String |
withoutExtension(URL url)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean loadOnDemand
protected URL shpURL
protected URL dbfURL
protected URL shxURL
protected URL idxURL
protected boolean useLoadOnDemand
| Constructor Detail |
|---|
public IlpShapeFileBackground()
| Method Detail |
|---|
public boolean isLoadOnDemand()
true if the memory saving technique of
load-on-demand is enabled.
public void setLoadOnDemand(boolean on)
protected String withoutExtension(URL url)
protected URL addExtension(String base,
String extension)
protected URL checkExists(URL url)
protected IlvFeatureRenderer createRenderer(IlpViewsView view,
URL SHPfileURL,
IlvMapFeatureIterator reader)
public IlvManagerLayer createLayer(IlpViewsView view,
URL SHPfileURL)
IlvManagerLayer suitable for a .shp file.
createLayer in interface IlpBackgroundview - The view in which the background is to be displayed.SHPfileURL - The location of the background data.
public void fillLayer(IlpViewsView view,
URL SHPfileURL,
IlvManagerLayer layer)
.shp file.
fillLayer in interface IlpBackgroundview - The view in which the background is to be displayed.SHPfileURL - The location of the background data.layer - The layer to be filled.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||