ilog.cpl.graph.background
Class IlpMIDMIFBackground

java.lang.Object
  extended by ilog.cpl.graph.background.IlpAbstractBackground
      extended by ilog.cpl.graph.background.IlpAbstractMapDataSourceBackground
          extended by ilog.cpl.graph.background.IlpMIDMIFBackground
All Implemented Interfaces:
IlpBackground, IlpMapDataSourceBackground, IlvBatchable

public class IlpMIDMIFBackground
extends IlpAbstractMapDataSourceBackground

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.

Since:
JViews 7.5

Field Summary
 
Fields inherited from class ilog.cpl.graph.background.IlpAbstractBackground
managerLayers
 
Fields inherited from interface ilog.cpl.graph.background.IlpBackground
LOAD_ON_DEMAND_PROPERTY, THREADED_PROPERTY, URL_PROPERTY, VISIBLE_PROPERTY
 
Constructor Summary
IlpMIDMIFBackground()
           
 
Method Summary
 IlvMapDataSource createMapDataSource(IlpViewsView view)
          Returns an ilog.views.maps.datasource.IlvMIDMIFDataSource.
protected  IlvMapStyle createMapStyle()
          If no style is already being defined in the IlvMapDataSource, it by default creates an IlvGraphicPathStyle.
 
Methods inherited from class ilog.cpl.graph.background.IlpAbstractMapDataSourceBackground
create, createRenderer, customizeMapStyle, dispose, getMapDataSource, getMapStyle
 
Methods inherited from class ilog.cpl.graph.background.IlpAbstractBackground
addLayer, addLayers, addPropertyChangeListener, endBatch, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperties, getProperty, getUrl, isLoadOnDemand, isThreaded, isVisible, removeLayer, removeLayers, removePropertyChangeListener, setLoadOnDemand, setProperty, setThreaded, setUrl, setVisible, startBatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.cpl.graph.background.IlpBackground
addPropertyChangeListener, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperty, removePropertyChangeListener, setProperty
 

Constructor Detail

IlpMIDMIFBackground

public IlpMIDMIFBackground()
Method Detail

createMapDataSource

public IlvMapDataSource createMapDataSource(IlpViewsView view)
                                     throws IlpBackgroundHandlingException
Returns an ilog.views.maps.datasource.IlvMIDMIFDataSource.

Parameters:
view - the IlpViewsView being used
Returns:
an IlvMapDataSource
Throws:
IlpBackgroundHandlingException - in case that there is problem handling this operation.
Since:
JViews 7.5
See Also:
IlpMapDataSourceBackground.createMapDataSource(ilog.cpl.graphic.views.IlpViewsView)

createMapStyle

protected IlvMapStyle createMapStyle()
                              throws IlpBackgroundHandlingException
If no style is already being defined in the IlvMapDataSource, it by default creates an IlvGraphicPathStyle.

Overrides:
createMapStyle in class IlpAbstractMapDataSourceBackground
Returns:
the ilog.views.maps.graphic.style.IlvMapStyle to be used by this background's ilog.views.maps.datasource.IlvMapDataSource.
Throws:
IlpBackgroundHandlingException - if a problem occurs.
See Also:
IlpAbstractMapDataSourceBackground.createMapStyle()


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