public class IlvSVGGraphicSet extends IlvGraphicSet
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.IlvGraphicSet.DelegateObjectInteractorlist| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
IlvGraphic |
copy()
Returns a new copy of this
IlvSVGGraphicSet. |
String |
getFileURL()
Gets the
String URL of the SVG file. |
String |
getURL()
Deprecated.
Beginning with Rogue Wave 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 Rogue Wave JViews 8.0, use the method
setFileURL(java.lang.String) instead. |
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream. |
addGraphicBagHierarchyListener, addManagerViewsHierarchyListener, addObject, addObjectAt, applyToObject, applyToObjectImpl, applyTransform, baseTextDirectionChanged, boundingBox, componentOrientationChanged, contains, contains, draw, drawCore, enableGraphicBagHierarchyEventForwarding, enableManagerViewsHierarchyEventForwarding, fireGraphicBagHierarchyEvent, fireManagerViewsHierarchyEvent, firstContains, getAlpha, getCardinal, getClip, getIndex, getIntersectionWithOutline, getObject, getObject, getObjectName, getObjects, getOriginalPopupMenu, getPopupMenu, getToolTipText, invalidateAndApplyToObject, invalidateBBoxCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isLocaleSensitive, isPersistent, moveObject, needsGraphicBagHierarchyEvent, needsManagerViewsHierarchyEvent, reDrawObj, reDrawRegion, removeAll, removeGraphicBagHierarchyListener, removeManagerViewsHierarchyListener, removeObject, removeObjectAt, reshapeObject, setAlpha, setBaseTextDirection, setClip, setGraphicBag, setInsideApply, setObjectName, zoomablecalcResolvedBaseTextDirection, getBaseTextDirection, getComponentOrientation, getResolvedBaseTextDirection, getULocale, invalidateBidiCache, setBaseTextDirection, setBaseTextDirectionDuringConstructionaddActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipBaseTextDirection, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getZOrderIndex, hasProperty, inside, intersects, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isSelectable, isVisible, localeChanged, makeSelection, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setForeground, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGraphicBagpublic 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.public IlvGraphic copy()
IlvSVGGraphicSet.copy in class IlvGraphicSetIlvGraphic@Deprecated public void setURL(String file)
setFileURL(java.lang.String) instead.file - The String URL of the SVG file.@Deprecated 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.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.