|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Representation of a node that represents navigatable links to other files.
Link nodes do not require content to come from other places, but they do want to provide information about where that object might allow the user to navigate too.
All URLs returned from the getUrl() call are required to be fully
qualified. The one exception are links within the same world. These links
shall have the first character start with '#'. This will then refer to the
DEF name of a viewpoint that is the new location to travel to.
| Method Summary | |
java.lang.String |
getDescription()
Get the description to associate with the link. |
java.lang.String[] |
getParameter()
Get the current list of parameters registered for this link. |
java.lang.String[] |
getUrl()
Get the list of URLs requested by this node. |
void |
setDescription(java.lang.String desc)
Set the description string for this link. |
void |
setParameter(java.lang.String[] params)
Set the parameter list to the new series of values. |
void |
setUrl(java.lang.String[] url,
int numValid)
Set the URL to a new value. |
void |
setWorldUrl(java.lang.String url)
Set the world URL so that any relative URLs may be corrected to the fully qualified version. |
| Method Detail |
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
desc - The new description to setpublic java.lang.String[] getParameter()
public void setParameter(java.lang.String[] params)
params - The new list of parameters to usepublic void setWorldUrl(java.lang.String url)
url - The world URL.public java.lang.String[] getUrl()
public void setUrl(java.lang.String[] url,
int numValid)
url - The list of urls to set or nullnumValid - The number of valid values to copy from the array
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||