DhSection | +--DhHyperlinkpublic class DhHyperlink
Creates a jump in the document to another place in the current document or to a different document.
Constructors
Name | Description |
---|---|
DhHyperlink() | Creates default hyperlink object. |
DhHyperlink(String url, String text) | Creates a "classic" hyperlink that navigates the user to the document the url parameter points to. |
Methods
Name | Description |
---|---|
getEnabled() | Retrieves the enabled state of the hyperlink. |
getJumpPoint() | Returns the local target of the jump. |
getStockTargetWindow() | Returns the window id where the browser will put the document. |
getTargetWindow() | Retrieves the name of the window where the browser will put the document. |
getText() | Retrieves the hyperlink text. |
getURL() | Retrieves the target URL for the hyperlink. |
setEnabled( boolean f) | Sets the enabled state of the hyperlink. |
setJumpPoint( DhElement target ) | Sets the destination of this hyperlink to be some element on this page. |
setStockTargetWindow( int targetID ) | Tells the browser which window to put the document into. |
setTargetWindow(String winName) | Tells the browser which window to put the document into. |
setText( String text ) | Sets the text the user sees in the hyperlink. |
setURL(String url) | Sets the pointer to the document. |
Creates default hyperlink object.
Creates a "classic" hyperlink that navigates the user to the document the url parameter points to.
Returns true if the hyperlink is enabled; otherwise, returns false .
Retrieves the enabled state of the hyperlink.
Returns the local target of the jump.
Returns one of the stock window IDs in LinkTargetEnum.
Returns the window id where the browser will put the document.
Retrieves the name of the window where the browser will put the document.
Returns the text the user sees in the hyperlink.
Retrieves the hyperlink text.
Returns the current URL where users would be sent if they clicked the hyperlink.
Retrieves the target URL for the hyperlink.
Sets the enabled state of the hyperlink.
Sets the destination of this hyperlink to be some element on this page.
Tells the browser which window to put the document into.
Tells the browser which window to put the document into.
Sets the text the user sees in the hyperlink.
Sets the pointer to the document.