|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.Hyperlink
public final class Hyperlink
Links to external sources or to another page in a document.
Field Summary | |
---|---|
static Hyperlink |
NULL
|
Constructor Summary | |
---|---|
Hyperlink(Page page)
Create new link to another page of a document. |
|
Hyperlink(java.lang.String target)
Create new hyperlink with URL. |
Method Summary | |
---|---|
HyperlinkType |
getHyperlinkType()
Get hyperlink type. |
void |
setTarget(Page page)
Set hyperlink to another page in a document. |
void |
setTarget(java.lang.String target)
Set hyperlink with URL. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Hyperlink NULL
Constructor Detail |
---|
public Hyperlink(java.lang.String target)
target
- URL, e.g. "http://www.arctorus.com"public Hyperlink(Page page)
page
- page of a document.Method Detail |
---|
public HyperlinkType getHyperlinkType()
public void setTarget(java.lang.String target)
target
- URL, e.g. "http://www.arctorus.com"public void setTarget(Page page)
page
- page of a document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |