Adobe InDesign CS3 (5.0) Object Model JS: PercentComboboxes

InDesign CS3

Class

PercentComboboxes

 A collection of percent comboboxes.

QuickLinks

add, 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

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: any)
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.

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

ParameterTypeDescription
namestringThe name.

Array of PercentCombobox itemByRange (from: any, to: any)
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, 27-Jun-2010 v3.0.3dContents :: Index