Adobe InDesign CS2 (4.0) Object Model JS: RealEditboxes

InDesign CS2

Class

RealEditboxes

 A collection of real number editboxes.

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

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

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

RealEditbox anyItem ()
Returns any RealEditbox in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objRealEditboxThe RealEditbox whose index comes before the desired RealEditbox.

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

ParameterTypeDescription
objRealEditboxThe index of the RealEditbox that follows the desired RealEditbox.

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

Element of

BorderPanel.realEditboxes

DialogColumn.realEditboxes

DialogRow.realEditboxes

EnablingGroup.realEditboxes

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