ViewZoomBehavior

A view zoom behavior object.

Properties

Property Type Access Description
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.
id number readonly The unique ID of the ViewZoomBehavior.
index number readonly The index of the ViewZoomBehavior within its containing object.
label string r/w A property that can be set to any string.
name string readonly The name of the ViewZoomBehavior.
parent any readonly The parent of the ViewZoomBehavior (a FormField or Button).
properties Object r/w A property that allows setting of several properties at the same time.
viewZoomStyle ViewZoomStyle
:
FULL_SCREEN
ZOOM_IN
ZOOM_OUT
FIT_PAGE
ACTUAL_SIZE
FIT_WIDTH
FIT_VISIBLE
REFLOW
SINGLE_PAGE
ONE_COLUMN
TWO_COLUMN
ROTATE_CW
ROTATE_CCW
r/w The view zoom style.

Methods

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

Parameter Type Description
key string The key.

Array of ViewZoomBehaviorgetElements ()
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 ViewZoomBehavior.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

ViewZoomBehaviors.previousItem (

obj:
ViewZoomBehavior )

ViewZoomBehaviors.nextItem (

obj:
ViewZoomBehavior )

Returned by:

Array of ViewZoomBehavior ViewZoomBehavior .getElements (

)

ViewZoomBehavior ViewZoomBehaviors.add (
[withProperties:
Object]
)

ViewZoomBehavior ViewZoomBehaviors.anyItem (

)

Array of ViewZoomBehavior ViewZoomBehaviors.everyItem (

)

ViewZoomBehavior ViewZoomBehaviors.firstItem (

)

ViewZoomBehavior ViewZoomBehaviors.item (
index:
any
)

ViewZoomBehavior ViewZoomBehaviors.itemByID (
id:
number
)

ViewZoomBehavior ViewZoomBehaviors.itemByName (
name:
string
)

Array of ViewZoomBehavior ViewZoomBehaviors.itemByRange (
from:
any, to:
any
)

ViewZoomBehavior ViewZoomBehaviors.lastItem (

)

ViewZoomBehavior ViewZoomBehaviors.middleItem (

)

ViewZoomBehavior ViewZoomBehaviors.nextItem (
obj:
ViewZoomBehavior
)

ViewZoomBehavior ViewZoomBehaviors.previousItem (
obj:
ViewZoomBehavior
)

Leave a Comment

Previous post:

Next post: