Adobe InCopy CS5 (7.0) Object Model JS: IntegerEditboxes

InCopy CS5

Class

IntegerEditboxes

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

IntegerEditbox anyItem ()
Returns any IntegerEditbox in the collection.

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

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

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

IntegerEditbox item (index: varies)
Returns the IntegerEditbox with the specified index or name.

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
fromIntegerEditbox
Long Integer
String
The IntegerEditbox, index, or name at the beginning of the range. Can accept: IntegerEditbox, Long Integer or String.
toIntegerEditbox
Long Integer
String
The IntegerEditbox, index, or name at the end of the range. Can accept: IntegerEditbox, Long Integer or String.

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

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

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

ParameterTypeDescription
objIntegerEditboxThe IntegerEditbox whose index comes before the desired IntegerEditbox.

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

ParameterTypeDescription
objIntegerEditboxThe index of the IntegerEditbox that follows the desired IntegerEditbox.

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

Element of

BorderPanel.integerEditboxes

DialogColumn.integerEditboxes

DialogRow.integerEditboxes

EnablingGroup.integerEditboxes

Jongware, 23-Mar-2011 v3.0.3dContents :: Index