public class IlpSVGBackground extends IlpAbstractBackground
This background type ignores load-on-demand hints and always loads the entire file.
managerLayers
LOAD_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, startBatch
public void create(IlvManager manager, int index, IlpViewsView view) throws IlpBackgroundHandlingException
create
in interface IlpBackground
create
in class IlpAbstractBackground
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 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.
IOException
IlvReadFileException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.