ilog.cpl.graphic.views.background
Class IlpShapeFileBackground

java.lang.Object
  extended by ilog.cpl.graphic.views.background.IlpShapeFileBackground
All Implemented Interfaces:
IlpBackground

Deprecated. See the Migration Guide a migration path.

public class IlpShapeFileBackground
extends Object
implements IlpBackground

Provides support for using ESRI .shp Shape files as background.

This background loader reads:

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)
The URL of the .shp file. The other three files are expected to be located in the same directory.
property name="loadOnDemand" (optional)
True if the memory saving technique of load-on-demand is to be used.

Since:
JTGO 3.0
Deprecated Since:
JTGO 7.5

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

loadOnDemand

protected boolean loadOnDemand
Deprecated. 
Internal method or field: do not use!

shpURL

protected URL shpURL
Deprecated. 
Internal method or field: do not use!

dbfURL

protected URL dbfURL
Deprecated. 
Internal method or field: do not use!

shxURL

protected URL shxURL
Deprecated. 
Internal method or field: do not use!

idxURL

protected URL idxURL
Deprecated. 
Internal method or field: do not use!

useLoadOnDemand

protected boolean useLoadOnDemand
Deprecated. 
Internal method or field: do not use!
Constructor Detail

IlpShapeFileBackground

public IlpShapeFileBackground()
Deprecated. 
Method Detail

isLoadOnDemand

public boolean isLoadOnDemand()
Deprecated. 
Returns true if the memory saving technique of load-on-demand is enabled.


setLoadOnDemand

public void setLoadOnDemand(boolean on)
Deprecated. 
Enables or disables load-on-demand.


withoutExtension

protected String withoutExtension(URL url)
Deprecated. 
Internal method or field: do not use!

addExtension

protected URL addExtension(String base,
                           String extension)
Deprecated. 
Internal method or field: do not use!

checkExists

protected URL checkExists(URL url)
Deprecated. 
Internal method or field: do not use!

createRenderer

protected IlvFeatureRenderer createRenderer(IlpViewsView view,
                                            URL SHPfileURL,
                                            IlvMapFeatureIterator reader)
Deprecated. 
Creates a renderer for the attributes of the map.


createLayer

public IlvManagerLayer createLayer(IlpViewsView view,
                                   URL SHPfileURL)
Deprecated. 
Creates an empty IlvManagerLayer suitable for a .shp file.

Specified by:
createLayer in interface IlpBackground
Parameters:
view - The view in which the background is to be displayed.
SHPfileURL - The location of the background data.

fillLayer

public void fillLayer(IlpViewsView view,
                      URL SHPfileURL,
                      IlvManagerLayer layer)
Deprecated. 
Fills a layer with a .shp file.

Specified by:
fillLayer in interface IlpBackground
Parameters:
view - The view in which the background is to be displayed.
SHPfileURL - The location of the background data.
layer - The layer to be filled.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.