ilog.cpl.graphic.views.background
Class IlpSVGBackground

java.lang.Object
  extended by ilog.cpl.graphic.views.background.IlpSVGBackground
All Implemented Interfaces:
IlpBackground
Direct Known Subclasses:
IlpSVGZBackground

Deprecated. See the Migration Guide a migration path.

public class IlpSVGBackground
extends Object
implements IlpBackground

Support for using Scalable Vector Graphics (SVG) files as background.

This background type ignores load-on-demand hints and always loads the entire file.

The XML settable properties are:

property name="url" (required)
The URL of the file.

Since:
JTGO 3.0
Deprecated Since:
JTGO 7.5

Constructor Summary
IlpSVGBackground()
          Deprecated.  
 
Method Summary
 IlvManagerLayer createLayer(IlpViewsView view, URL backgroundURL)
          Deprecated. Creates an empty IlvManagerLayer suitable for an SVG file.
 void fillLayer(IlpViewsView view, URL backgroundURL, IlvManagerLayer layer)
          Deprecated. Fills a layer with an SVG file.
protected  void readFromStream(IlvGraphicSet svgGraphic, InputStream stream)
          Deprecated. Reads the SVG file into a given IlvGraphicSet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpSVGBackground

public IlpSVGBackground()
Deprecated. 
Method Detail

createLayer

public IlvManagerLayer createLayer(IlpViewsView view,
                                   URL backgroundURL)
Deprecated. 
Creates an empty IlvManagerLayer suitable for an SVG file.

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

fillLayer

public void fillLayer(IlpViewsView view,
                      URL backgroundURL,
                      IlvManagerLayer layer)
Deprecated. 
Fills a layer with an SVG file.

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

readFromStream

protected void readFromStream(IlvGraphicSet svgGraphic,
                              InputStream stream)
                       throws IOException,
                              IlvReadFileException
Deprecated. 
Reads the SVG file into a given IlvGraphicSet.

Throws:
IOException
IlvReadFileException
Internal method or field: do not use!


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