|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvNamedProperty
ilog.views.svg.SVGHREFProperty
public class SVGHREFProperty
This IlvNamedProperty subclass allows access to details of the
Xlink hyperreference associated with an IlvGraphic.
SVGHREFObjectInteractor,
Serialized Form| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SVGHREFProperty(IlvInputStream stream)
IlvInputStream constructor. |
|
SVGHREFProperty(SVGHREFProperty source)
Copy constructor. |
|
SVGHREFProperty(URL ref,
String method)
Builds an instance of SVGHREFProperty. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ilog.views.IlvNamedProperty |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 Values| Constructor Detail |
|---|
public SVGHREFProperty(URL ref,
String method)
SVGHREFProperty.
ref - The URL that the link should follow.method - The method that should be used to follow the link
(that is, REPLACE or
NEW).public SVGHREFProperty(SVGHREFProperty source)
IlvNamedProperty.IlvNamedProperty(IlvNamedProperty)
public SVGHREFProperty(IlvInputStream stream)
throws IOException,
IlvReadFileException
IlvInputStream constructor.
IOException
IlvReadFileExceptionIlvNamedProperty.IlvNamedProperty(IlvInputStream)| Method Detail |
|---|
public IlvNamedProperty copy()
SVGHREFProperty.
copy in class IlvNamedPropertypublic boolean isPersistent()
true.
isPersistent in class IlvNamedPropertyIlvNamedProperty.isPersistent()public String getShowAttribute()
xlink:show attribute. This is the
method that should be used to follow the link.
REPLACE,
NEWpublic 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 IlvPersistentObjectwrite in class IlvNamedPropertystream - The output stream.
IOException - standard IO error.IlvNamedProperty.write(ilog.views.io.IlvOutputStream)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||