Adobe InDesign CS3 (5.0) Object Model JS: BorderPanels

InDesign CS3

Class

BorderPanels

 A collection of border panels.

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

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

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

BorderPanel anyItem ()
Returns any BorderPanel in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromBorderPanel
Long Integer
String
The BorderPanel, index, or name at the beginning of the range. Can accept: BorderPanel, Long Integer or String.
toBorderPanel
Long Integer
String
The BorderPanel, index, or name at the end of the range. Can accept: BorderPanel, Long Integer or String.

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

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

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

ParameterTypeDescription
objBorderPanelThe BorderPanel whose index comes before the desired BorderPanel.

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

ParameterTypeDescription
objBorderPanelThe index of the BorderPanel that follows the desired BorderPanel.

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

Element of

BorderPanel.borderPanels

DialogColumn.borderPanels

DialogRow.borderPanels

EnablingGroup.borderPanels

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