HyperlinkURLDestination
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
destinationURL | string | r/w | The URL the hyperlink points to. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
hidden | bool | readonly | If true, the hyperlink is hidden. |
id | number | readonly | The unique ID of the HyperlinkURLDestination. |
index | number | readonly | The index of the HyperlinkURLDestination within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
name | string | r/w | The name of the HyperlinkURLDestination. |
parent | Document | readonly | The parent of the HyperlinkURLDestination (a Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of HyperlinkURLDestination getElements ()
Resolves the object specifier, creating an array of object references.
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
void remove ()
Deletes the HyperlinkURLDestination.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
void showDestination ()
Jumps to the hyperlink destination.
string toSource ()
Generates a string which, if executed, will return the HyperlinkURLDestination.
Element of
Hyperlink.destination
Used in:
HyperlinkURLDestination HyperlinkURLDestinations.nextItem (obj: HyperlinkURLDestination)
HyperlinkURLDestination HyperlinkURLDestinations.previousItem (obj: HyperlinkURLDestination)
Return
Array of HyperlinkURLDestination HyperlinkURLDestination.getElements ()
HyperlinkURLDestination HyperlinkURLDestinations.[] (index: number)
HyperlinkURLDestination HyperlinkURLDestinations.add ([destination: string][, withProperties: Object])
HyperlinkURLDestination HyperlinkURLDestinations.anyItem ()
Array of HyperlinkURLDestination HyperlinkURLDestinations.everyItem ()
HyperlinkURLDestination HyperlinkURLDestinations.firstItem ()
HyperlinkURLDestination HyperlinkURLDestinations.item (index: varies)
HyperlinkURLDestination HyperlinkURLDestinations.itemByID (id: number)
HyperlinkURLDestination HyperlinkURLDestinations.itemByName (name: string)
Array of HyperlinkURLDestination HyperlinkURLDestinations.itemByRange (from: varies, to: varies)
HyperlinkURLDestination HyperlinkURLDestinations.lastItem ()
HyperlinkURLDestination HyperlinkURLDestinations.middleItem ()
HyperlinkURLDestination HyperlinkURLDestinations.nextItem (obj: HyperlinkURLDestination)
HyperlinkURLDestination HyperlinkURLDestinations.previousItem (obj: HyperlinkURLDestination)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |