public class SVGHREFProperty extends IlvNamedProperty
IlvNamedProperty
subclass allows access to details of the
Xlink hyperreference associated with an IlvGraphic
.SVGHREFObjectInteractor
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
NEW
When the
SVGHREFProperty uses this method, the contents of the
link destination will be put in a new instance of IlvManager . |
static String |
REPLACE
When the
SVGHREFProperty uses this method, the contents of the
link destination will replace the current contents of the
IlvManager . |
Constructor and Description |
---|
SVGHREFProperty(IlvInputStream stream)
IlvInputStream constructor. |
SVGHREFProperty(SVGHREFProperty source)
Copy constructor.
|
SVGHREFProperty(URL ref,
String method)
Builds an instance of
SVGHREFProperty . |
Modifier and Type | Method and Description |
---|---|
IlvNamedProperty |
copy()
Returns a copy of the
SVGHREFProperty . |
URL |
getHREFAttribute()
Returns the value of the
xlink:href attribute. |
String |
getShowAttribute()
Returns the value of the
xlink:show attribute. |
boolean |
isPersistent()
Returns
true . |
void |
write(IlvOutputStream stream)
Writes the
SVGHREFProperty to a stream. |
getName
public static final String REPLACE
SVGHREFProperty
uses this method, the contents of the
link destination will replace the current contents of the
IlvManager
.getShowAttribute()
,
Constant Field Valuespublic static final String NEW
SVGHREFProperty
uses this method, the contents of the
link destination will be put in a new instance of IlvManager
.getShowAttribute()
,
Constant Field Valuespublic SVGHREFProperty(URL ref, String method)
SVGHREFProperty
.public SVGHREFProperty(SVGHREFProperty source)
public SVGHREFProperty(IlvInputStream stream) throws IOException, IlvReadFileException
IlvInputStream
constructor.IOException
IlvReadFileException
IlvNamedProperty.IlvNamedProperty(IlvInputStream)
public IlvNamedProperty copy()
SVGHREFProperty
.copy
in class IlvNamedProperty
public boolean isPersistent()
true
.isPersistent
in class IlvNamedProperty
IlvNamedProperty.isPersistent()
public String getShowAttribute()
xlink:show
attribute. This is the
method that should be used to follow the link.public URL getHREFAttribute()
xlink:href
attribute. This is the
URL that the link should follow.public void write(IlvOutputStream stream) throws IOException
SVGHREFProperty
to a stream.write
in interface IlvPersistentObject
write
in class IlvNamedProperty
stream
- The output stream.IOException
- standard IO error.IlvNamedProperty.write(ilog.views.io.IlvOutputStream)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.