Adobe InDesign CS2 (4.0) Object Model JS: IntegerComboboxes

InDesign CS2

Class

IntegerComboboxes

 A collection of integer 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

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

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

IntegerCombobox anyItem ()
Returns any IntegerCombobox in the collection.

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

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

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

IntegerCombobox item (index: any)
Returns the IntegerCombobox with the specified index or name.

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

Array of IntegerCombobox itemByRange (from: any, to: any)
Returns the IntegerComboboxes within the specified range.

ParameterTypeDescription
fromIntegerCombobox
Long
String
The IntegerCombobox, index, or name at the beginning of the range. Can accept: IntegerCombobox, Long or String.
toIntegerCombobox
Long
String
The IntegerCombobox, index, or name at the end of the range. Can accept: IntegerCombobox, Long or String.

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

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

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

ParameterTypeDescription
objIntegerComboboxThe IntegerCombobox whose index comes before the desired IntegerCombobox.

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

ParameterTypeDescription
objIntegerComboboxThe index of the IntegerCombobox that follows the desired IntegerCombobox.

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

Element of

BorderPanel.integerComboboxes

DialogColumn.integerComboboxes

DialogRow.integerComboboxes

EnablingGroup.integerComboboxes

Jongware, 27-Jun-2010 v3.0.3dContents :: Index