Adobe InCopy CS5 (7.0) Object Model JS: PercentEditboxes

InCopy CS5

Class

PercentEditboxes

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

PercentEditbox anyItem ()
Returns any PercentEditbox in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

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

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

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

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

ParameterTypeDescription
objPercentEditboxThe PercentEditbox whose index comes before the desired PercentEditbox.

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

ParameterTypeDescription
objPercentEditboxThe index of the PercentEditbox that follows the desired PercentEditbox.

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

Element of

BorderPanel.percentEditboxes

DialogColumn.percentEditboxes

DialogRow.percentEditboxes

EnablingGroup.percentEditboxes

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