ilog.cpl.graph.background
Class IlpSVGBackground
java.lang.Object
ilog.cpl.graph.background.IlpAbstractBackground
ilog.cpl.graph.background.IlpSVGBackground
- All Implemented Interfaces:
- IlpBackground, IlvBatchable
- Direct Known Subclasses:
- IlpSVGZBackground
public class IlpSVGBackground
- extends IlpAbstractBackground
Support for using Scalable Vector Graphics (SVG) files as background.
This background type ignores load-on-demand hints and always loads the
entire file.
- Since:
- JViews 7.5
| Methods inherited from class ilog.cpl.graph.background.IlpAbstractBackground |
addLayer, addLayers, addPropertyChangeListener, dispose, 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 |
IlpSVGBackground
public IlpSVGBackground()
create
public void create(IlvManager manager,
int index,
IlpViewsView view)
throws IlpBackgroundHandlingException
- Populates the IlvManager with the contents of the background file at the
specified index.
- Specified by:
create in interface IlpBackground- Overrides:
create in class IlpAbstractBackground
- Parameters:
manager - the manager where the graphics should be added toindex - the IlvManagerLayer index in the manager from which this
background should start inserting the graphics.view - the associated IlpViewsView
- Throws:
IlpBackgroundHandlingException - in case there is a problem handling this operation.- See Also:
IlpAbstractBackground.create(ilog.views.IlvManager, int, ilog.cpl.graphic.views.IlpViewsView)
readFromStream
protected void readFromStream(IlvGraphicSet svgGraphic,
InputStream stream)
throws IOException,
IlvReadFileException
- Reads the SVG file into a given IlvGraphicSet.
Should be overridden in subclasses.
- Throws:
IOException
IlvReadFileException- Internal method or field: do not use!
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.