|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvGraphicSet
ilog.views.svg.IlvSVGGraphicSet
public class IlvSVGGraphicSet
A subclass of IlvGraphicSet that allows you to load the
contents of an SVG file into it. When saving an IlvSVGGraphicSet
to an IVL file, only the reference to the SVG file will be saved, not
all the IlvGraphic returned by IlvGraphicSet.getObjects(); this
means that if you manually added some IlvGraphic to the
set in addition to the one loaded from the SVG file, they will not be
saved.
Warning: this class has been moved from ilog.views.graphic
to ilog.views.svg from JViews 5.5 to JViews 6.0 version.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
IlvGraphicSet.DelegateObjectInteractor |
| Field Summary |
|---|
| Fields inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
list |
| Constructor Summary | |
|---|---|
IlvSVGGraphicSet()
Creates a new empty IlvSVGGraphicSet instance. |
|
IlvSVGGraphicSet(IlvInputStream in)
Reads a new IlvSVGGraphicSet from an input stream. |
|
IlvSVGGraphicSet(IlvSVGGraphicSet source)
Creates a new copy of an IlvSVGGraphicSet. |
|
| Method Summary | |
|---|---|
IlvGraphic |
copy()
Returns a new copy of this IlvSVGGraphicSet. |
String |
getFileURL()
Gets the String URL of the SVG file. |
String |
getURL()
Deprecated. Beginning with ILOG JViews 8.0, use the method getFileURL() instead. |
void |
setFileURL(String file)
Sets the SVG file of the graphic set. |
void |
setURL(String file)
Deprecated. Beginning with ILOG JViews 8.0, use the method setFileURL(java.lang.String) instead. |
void |
write(IlvOutputStream stream)
Writes the object to an IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvGraphicBag |
|---|
getGraphicBag |
| Constructor Detail |
|---|
public IlvSVGGraphicSet()
IlvSVGGraphicSet instance.
public IlvSVGGraphicSet(IlvInputStream in)
throws IlvReadFileException,
IOException
IlvSVGGraphicSet from an input stream.
in - The input stream.
IlvReadFileException - if the stream is not
correctly formatted.
IOException - if an error occurs while reading
the stream.public IlvSVGGraphicSet(IlvSVGGraphicSet source)
IlvSVGGraphicSet.
source - The graphic to copy.| Method Detail |
|---|
public IlvGraphic copy()
IlvSVGGraphicSet.
copy in class IlvGraphicSetIlvGraphicpublic void setURL(String file)
setFileURL(java.lang.String) instead.
file - The String URL of the SVG file.public String getURL()
getFileURL() instead.
String URL of the SVG file.
public void setFileURL(String file)
throws IlvReadFileException,
IOException
file - The String URL of the SVG file.
IlvReadFileException - if the stream is not
correctly formatted.
IOException - if an error occurs while reading
the stream.public String getFileURL()
String URL of the SVG file.
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
You should not call this
method directly; instead, you should use the write
methods of the manager.
write in interface IlvPersistentObjectwrite in class IlvGraphicSetstream - The output stream.
IOException - thrown when an exception occurs during
the write operation for this object.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||