ilog.cpl.graphic.views.background
Class IlpMIDMIFBackground

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

Deprecated. See the Migration Guide a migration path.

public class IlpMIDMIFBackground
extends Object
implements IlpBackground

Support for using MapInfo .mif/.mid files as background.

This background loader reads:

See also: the ILOG JViews demo demos/maps/midmif, and the ILOG JViews package ilog.views.maps.format.midmif.

The XML settable properties are:

property name="url" (required)
The URL of the .mif file. The other file is expected to be located in the same directory.

Since:
JTGO 3.0
Deprecated Since:
JTGO 7.5

Field Summary
protected  URL midURL
          Deprecated.  
protected  URL mifURL
          Deprecated.  
protected  IlvFeatureRenderer renderer
          Deprecated.  
 
Constructor Summary
IlpMIDMIFBackground()
          Deprecated.  
 
Method Summary
protected  URL addExtension(String base, String extension)
          Deprecated.  
protected  URL checkExists(URL url)
          Deprecated.  
 IlvManagerLayer createLayer(IlpViewsView view, URL MIFfileURL)
          Deprecated. Creates an empty IlvManagerLayer suitable for a .mif file.
protected  IlvFeatureRenderer createRenderer(IlpViewsView view, URL SHPfileURL, IlvMapFeatureIterator reader)
          Deprecated. Creates a renderer for the map's attributes.
 void fillLayer(IlpViewsView view, URL MIFfileURL, IlvManagerLayer layer)
          Deprecated. Fills a layer with a .mif file.
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

mifURL

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

midURL

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

renderer

protected IlvFeatureRenderer renderer
Deprecated. 
Internal method or field: do not use!
Constructor Detail

IlpMIDMIFBackground

public IlpMIDMIFBackground()
Deprecated. 
Method Detail

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 map's attributes.


createLayer

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

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

fillLayer

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

Specified by:
fillLayer in interface IlpBackground
Parameters:
view - The view in which the background shall be displayed.
MIFfileURL - 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.