com.microstrategy.web.objects.WebHyperLinks |
The WebHyperLinks interface represents the collection of WebHyperLink
associated with grid report cell or RWD text field.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebHyperLink |
add()
add a Hyperlink to this link collection
| ||||||||||
abstract void |
clear()
clear all Hyperlinks in this link collection.
| ||||||||||
abstract Iterator<WebHyperLink> |
elements()
Returns an iterator over the Hyperlinks collection
| ||||||||||
abstract WebHyperLink |
get(int i)
Returns the i-th hyperlink in this collection
| ||||||||||
abstract WebHyperLink |
getDefault()
Returns default HyperLink or null if there is no Hyperlink set as default
| ||||||||||
abstract boolean |
getOpenInNewWindow()
Returns true if target URL or report or document shall be displayed in the new window.
| ||||||||||
abstract void |
setOpenInNewWindow(boolean b)
Sets/Unsets whether target URL or report or document shall be displayed in the new window.
| ||||||||||
abstract int |
size()
Returns the number of Hyeprlinks in link collection.
|
clear all Hyperlinks in this link collection.
Returns an iterator over the Hyperlinks collection
Returns the i-th hyperlink in this collection
i | the index (starting from 0) |
---|
IllegalArgumentException | thrown if there is no hyperlink at the given index. |
---|
Returns default HyperLink or null if there is no Hyperlink set as default
WebHyperLink
the default Hyperlink or null if there is no Hyperlink set as default
Returns true if target URL or report or document shall be displayed in the new window.
Sets/Unsets whether target URL or report or document shall be displayed in the new window.
b | the flag to open a new window if b is true, the target Hyperlink will be opened in a new window if b is false, the target Hyperlink will be opened in current window |
---|
Returns the number of Hyeprlinks in link collection.