com.microstrategy.web.objects.rw.RWHyperlink |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | LINK_TYPE_EXECUTE | ||||||||||
int | LINK_TYPE_URL | ||||||||||
int | PROMPT_ANSWER_TYPE_MSGID | ||||||||||
int | PROMPT_ANSWER_TYPE_NO_ANSWER | ||||||||||
int | PROMPT_ANSWER_TYPE_XML |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addAttribute(String attrID)
Adds a new attribute to the attributes collection
| ||||||||||
abstract void | clearAttributes() | ||||||||||
abstract WebAttribute[] |
getAttributes()
Returns a modifiable list of attributes
| ||||||||||
abstract String | getDisplayText() | ||||||||||
abstract String |
getHyperlink()
Returns the url (@see #getURL()) if the hyperlink is of type
LINK_TYPE_URL
If the hyperlink is of type LINK_TYPE_EXECUTE , then a hyperlink representation based on the current parameters is returned
| ||||||||||
abstract int |
getLinkType()
Returns the type of link
| ||||||||||
abstract int | getPromptAnswersType() | ||||||||||
abstract WebObjectInfo | getTargetObject() | ||||||||||
abstract String |
getURL()
Returns the url (if any) associated with the hyperlink
| ||||||||||
abstract boolean |
isDefault()
Indicates whether this is the default url
| ||||||||||
abstract boolean | openInNewWindow() | ||||||||||
abstract void |
setDefault(boolean def)
Set the current hyperlink as the default
| ||||||||||
abstract void | setDisplayText(String text) | ||||||||||
abstract void | setLinkType(int type) | ||||||||||
abstract void | setOpenInNewWindow(boolean open) | ||||||||||
abstract void | setPromptsAnswersType(int type) | ||||||||||
abstract void | setTargetObject(WebObjectInfo obj) | ||||||||||
abstract void | setURL(String url) |
Adds a new attribute to the attributes collection
IllegalArgumentException | if the attribute ID that is passed in does not correspond to a valid attribute in one of the datasets |
---|
Returns the url (@see #getURL()) if the hyperlink is of type LINK_TYPE_URL
If the hyperlink is of type LINK_TYPE_EXECUTE
, then a hyperlink representation based on the current parameters is returned
Returns the type of link
Returns the url (if any) associated with the hyperlink
Indicates whether this is the default url
Set the current hyperlink as the default