GotoAnchorBehavior

A behavior object that jumps to an anchor.

Properties

Property Type Access Description
anchorItem Hyperlink r/w The anchor item, specified as a hyperlink.
anchorName string readonly The anchor name.
behaviorEvent BehaviorEvents
:
MOUSE_UP
MOUSE_DOWN
MOUSE_ENTER
MOUSE_EXIT
ON_FOCUS
ON_BLUR
r/w The event which triggers the behavior
enableBehavior bool r/w If true, the behavior is enabled.
filePath string r/w The file path (a colon delimited path for Mac). Can also accept: File.
id number readonly The unique ID of the GotoAnchorBehavior.
index number readonly The index of the GotoAnchorBehavior within its containing object.
label string r/w A property that can be set to any string.
name string readonly The name of the GotoAnchorBehavior.
parent any readonly The parent of the GotoAnchorBehavior (a FormField or Button).
properties Object r/w A property that allows setting of several properties at the same time.
zoomSetting GoToZoomOptions
:
INHERIT_ZOOM
FIT_WINDOW
FIT_WIDTH
FIT_VISIBLE
ACTUAL_SIZE
r/w The zoom setting.

Methods

string extractLabel (key:
string)
Gets the label value associated with the specified key.

Parameter Type Description
key string The key.

Array of GotoAnchorBehaviorgetElements ()
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 GotoAnchorBehavior.

string toSource ()
Generates a string which, if executed, will return the GotoAnchorBehavior.

string toSpecifier ()
Retrieves the object specifier.

Used in:

GotoAnchorBehaviors.previousItem (

obj:
GotoAnchorBehavior )

GotoAnchorBehaviors.nextItem (

obj:
GotoAnchorBehavior )

Returned by:

Array of GotoAnchorBehavior GotoAnchorBehavior .getElements (

)

GotoAnchorBehavior GotoAnchorBehaviors.add (
[withProperties:
Object]
)

GotoAnchorBehavior GotoAnchorBehaviors.anyItem (

)

Array of GotoAnchorBehavior GotoAnchorBehaviors.everyItem (

)

GotoAnchorBehavior GotoAnchorBehaviors.firstItem (

)

GotoAnchorBehavior GotoAnchorBehaviors.item (
index:
any
)

GotoAnchorBehavior GotoAnchorBehaviors.itemByID (
id:
number
)

GotoAnchorBehavior GotoAnchorBehaviors.itemByName (
name:
string
)

Array of GotoAnchorBehavior GotoAnchorBehaviors.itemByRange (
from:
any, to:
any
)

GotoAnchorBehavior GotoAnchorBehaviors.lastItem (

)

GotoAnchorBehavior GotoAnchorBehaviors.middleItem (

)

GotoAnchorBehavior GotoAnchorBehaviors.nextItem (
obj:
GotoAnchorBehavior
)

GotoAnchorBehavior GotoAnchorBehaviors.previousItem (
obj:
GotoAnchorBehavior
)

Leave a Comment

Previous post:

Next post: