Adobe InDesign CS5 (7.0) Object Model JS: IntegerComboboxes

InDesign CS5

Class

IntegerComboboxes

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

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

ParameterTypeDescription
indexnumberThe index.

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: varies)
Returns the IntegerCombobox with the specified index or name.

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
fromIntegerCombobox
Long Integer
String
The IntegerCombobox, index, or name at the beginning of the range. Can accept: IntegerCombobox, Long Integer or String.
toIntegerCombobox
Long Integer
String
The IntegerCombobox, index, or name at the end of the range. Can accept: IntegerCombobox, Long Integer 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, 20-Jun-2010 v3.0.3dContents :: Index