public class IlpSVGBackground extends IlpAbstractBackground
This background type ignores load-on-demand hints and always loads the entire file.
managerLayersLOAD_ON_DEMAND_PROPERTY, THREADED_PROPERTY, URL_PROPERTY, VISIBLE_PROPERTY| Constructor and Description |
|---|
IlpSVGBackground()
Instantiates a new background.
|
| Modifier and Type | Method and Description |
|---|---|
void |
create(IlvManager manager,
int index,
IlpViewsView view)
Populates the IlvManager with the contents of the background file at the
specified index.
|
protected void |
readFromStream(IlvGraphicSet svgGraphic,
InputStream stream)
Reads the SVG file into a given IlvGraphicSet.
|
addLayer, addLayers, addPropertyChangeListener, dispose, endBatch, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperties, getProperty, getUrl, isLoadOnDemand, isThreaded, isVisible, removeLayer, removeLayers, removePropertyChangeListener, setLoadOnDemand, setProperty, setThreaded, setUrl, setVisible, startBatchpublic void create(IlvManager manager, int index, IlpViewsView view) throws IlpBackgroundHandlingException
create in interface IlpBackgroundcreate in class IlpAbstractBackgroundmanager - 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 IlpViewsViewIlpBackgroundHandlingException - in case there is a problem handling this operation.IlpAbstractBackground.create(ilog.views.IlvManager, int, ilog.cpl.graphic.views.IlpViewsView)protected void readFromStream(IlvGraphicSet svgGraphic, InputStream stream) throws IOException, IlvReadFileException
Should be overridden in subclasses.
IOExceptionIlvReadFileException© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.