Adobe InDesign CS5 (7.0) Object Model JS: RealEditboxes

InDesign CS5

Class

RealEditboxes

 A collection of real number editboxes.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

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