Adobe InCopy CS5.5 (7.5) Object Model JS: ShowHideFieldsBehaviors

InCopy CS5.5

Class

ShowHideFieldsBehaviors

 A collection of show/hide fields behavior objects.

See also ShowHideFieldsBehavior.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

ShowHideFieldsBehavior [] (index: number)
Returns the ShowHideFieldsBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

ShowHideFieldsBehavior anyItem ()
Returns any ShowHideFieldsBehavior in the collection.

number count ()
Displays the number of elements in the ShowHideFieldsBehavior.

Array of ShowHideFieldsBehavior everyItem ()
Returns every ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehavior firstItem ()
Returns the first ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehavior item (index: varies)
Returns the ShowHideFieldsBehavior with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

ShowHideFieldsBehavior itemByID (id: number)
Returns the ShowHideFieldsBehavior with the specified ID.

ParameterTypeDescription
idnumberThe ID.

ShowHideFieldsBehavior itemByName (name: string)
Returns the ShowHideFieldsBehavior with the specified name.

ParameterTypeDescription
namestringThe name.

Array of ShowHideFieldsBehavior itemByRange (from: varies, to: varies)
Returns the ShowHideFieldsBehaviors within the specified range.

ParameterTypeDescription
fromLong Integer
ShowHideFieldsBehavior
String
The ShowHideFieldsBehavior, index, or name at the beginning of the range. Can accept: ShowHideFieldsBehavior, Long Integer or String.
toLong Integer
ShowHideFieldsBehavior
String
The ShowHideFieldsBehavior, index, or name at the end of the range. Can accept: ShowHideFieldsBehavior, Long Integer or String.

ShowHideFieldsBehavior lastItem ()
Returns the last ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehavior middleItem ()
Returns the middle ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehavior nextItem (obj: ShowHideFieldsBehavior)
Returns the ShowHideFieldsBehavior whose index follows the specified ShowHideFieldsBehavior in the collection.

ParameterTypeDescription
objShowHideFieldsBehaviorThe ShowHideFieldsBehavior whose index comes before the desired ShowHideFieldsBehavior.

ShowHideFieldsBehavior previousItem (obj: ShowHideFieldsBehavior)
Returns the ShowHideFieldsBehavior with the index previous to the specified index.

ParameterTypeDescription
objShowHideFieldsBehaviorThe index of the ShowHideFieldsBehavior that follows the desired ShowHideFieldsBehavior.

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

Element of

Button.showHideFieldsBehaviors

Jongware, 29-Apr-2012 v3.0.3iContents :: Index