Adobe InDesign CS2 (4.0) Object Model JS: CheckboxControls

InDesign CS2

Class

CheckboxControls

 A collection of checkbox controls.

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

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

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

CheckboxControl anyItem ()
Returns any CheckboxControl in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromCheckboxControl
Long
String
The CheckboxControl, index, or name at the beginning of the range. Can accept: CheckboxControl, Long or String.
toCheckboxControl
Long
String
The CheckboxControl, index, or name at the end of the range. Can accept: CheckboxControl, Long or String.

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

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

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

ParameterTypeDescription
objCheckboxControlThe CheckboxControl whose index comes before the desired CheckboxControl.

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

ParameterTypeDescription
objCheckboxControlThe index of the CheckboxControl that follows the desired CheckboxControl.

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

Element of

BorderPanel.checkboxControls

DialogColumn.checkboxControls

DialogRow.checkboxControls

EnablingGroup.checkboxControls

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