Adobe InDesign CS6 (8.0) Object Model JS: PercentComboboxes

InDesign CS6

Class

PercentComboboxes

 A collection of percent comboboxes.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

PercentCombobox anyItem ()
Returns any PercentCombobox in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

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

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

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

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

ParameterTypeDescription
objPercentComboboxThe PercentCombobox whose index comes before the desired PercentCombobox.

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

ParameterTypeDescription
objPercentComboboxThe index of the PercentCombobox that follows the desired PercentCombobox.

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

Element of

BorderPanel.percentComboboxes

DialogColumn.percentComboboxes

DialogRow.percentComboboxes

EnablingGroup.percentComboboxes

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