Edit in GitHubLog an issue

ViewZoomBehaviors

A collection of view zoom behavior objects.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the ViewZoomBehavior.


ViewZoomBehavior add( Object withProperties )

Creates a new ViewZoomBehavior.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new ViewZoomBehavior (Optional)

ViewZoomBehavior item( Mixed index )

Returns the ViewZoomBehavior with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

ViewZoomBehavior itemByName( String name )

Returns the ViewZoomBehavior with the specified name.

Parameters

TypeNameDescription
String
name
The name.

ViewZoomBehavior itemByID( Number id )

Returns the ViewZoomBehavior with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

ViewZoomBehavior itemByRange( Mixed from, Mixed to )

Returns the ViewZoomBehaviors within the specified range.

Parameters

TypeNameDescription
Mixed
from
The ViewZoomBehavior, index, or name at the beginning of the range. Can accept: ViewZoomBehavior, Long Integer or String.
Mixed
to
The ViewZoomBehavior, index, or name at the end of the range. Can accept: ViewZoomBehavior, Long Integer or String.

ViewZoomBehavior firstItem()

Returns the first ViewZoomBehavior in the collection.


ViewZoomBehavior lastItem()

Returns the last ViewZoomBehavior in the collection.


ViewZoomBehavior middleItem()

Returns the middle ViewZoomBehavior in the collection.


ViewZoomBehavior previousItem( ViewZoomBehavior obj )

Returns the ViewZoomBehavior with the index previous to the specified index.

Parameters

TypeNameDescription
ViewZoomBehavior
obj
The index of the ViewZoomBehavior that follows the desired ViewZoomBehavior.

ViewZoomBehavior nextItem( ViewZoomBehavior obj )

Returns the ViewZoomBehavior whose index follows the specified ViewZoomBehavior in the collection.

Parameters

TypeNameDescription
ViewZoomBehavior
obj
The ViewZoomBehavior whose index comes before the desired ViewZoomBehavior.

ViewZoomBehavior anyItem()

Returns any ViewZoomBehavior in the collection.


ViewZoomBehavior everyItem()

Returns every ViewZoomBehavior in the collection.


String toSource()

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


ViewZoomBehavior []( Number index )

Returns the ViewZoomBehavior with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.