Adobe InDesign CS5.5 (7.5) Object Model JS: RealComboboxes

InDesign CS5.5

Class

RealComboboxes

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
fromLong Integer
RealCombobox
String
The RealCombobox, index, or name at the beginning of the range. Can accept: RealCombobox, Long Integer or String.
toLong Integer
RealCombobox
String
The RealCombobox, index, or name at the end of the range. Can accept: RealCombobox, Long Integer 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, 28-Apr-2012 v3.0.3iContents :: Index