Adobe InDesign CS5.5 (7.5) Object Model JS: EnablingGroups

InDesign CS5.5

Class

EnablingGroups

 A collection of enabling groups.

See also EnablingGroup.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

EnablingGroup add ([withProperties: Object])
Creates a new EnablingGroup.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new EnablingGroup (Optional)

EnablingGroup anyItem ()
Returns any EnablingGroup in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
fromEnablingGroup
Long Integer
String
The EnablingGroup, index, or name at the beginning of the range. Can accept: EnablingGroup, Long Integer or String.
toEnablingGroup
Long Integer
String
The EnablingGroup, index, or name at the end of the range. Can accept: EnablingGroup, Long Integer or String.

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

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

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

ParameterTypeDescription
objEnablingGroupThe EnablingGroup whose index comes before the desired EnablingGroup.

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

ParameterTypeDescription
objEnablingGroupThe index of the EnablingGroup that follows the desired EnablingGroup.

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

Element of

BorderPanel.enablingGroups

DialogColumn.enablingGroups

DialogRow.enablingGroups

EnablingGroup.enablingGroups

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