Adobe InDesign CS2 (4.0) Object Model JS: RealComboboxes

InDesign CS2

Class

RealComboboxes

 A collection of real number 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

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

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

RealCombobox anyItem ()
Returns any RealCombobox in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objRealComboboxThe RealCombobox whose index comes before the desired RealCombobox.

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

ParameterTypeDescription
objRealComboboxThe index of the RealCombobox that follows the desired RealCombobox.

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

Element of

BorderPanel.realComboboxes

DialogColumn.realComboboxes

DialogRow.realComboboxes

EnablingGroup.realComboboxes

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