Adobe InDesign CS3 (5.0) Object Model JS: RadiobuttonControls

InDesign CS3

Class

RadiobuttonControls

 A collection of individual radiobutton 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

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

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

RadiobuttonControl anyItem ()
Returns any RadiobuttonControl in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objRadiobuttonControlThe RadiobuttonControl whose index comes before the desired RadiobuttonControl.

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

ParameterTypeDescription
objRadiobuttonControlThe index of the RadiobuttonControl that follows the desired RadiobuttonControl.

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

Element of

RadiobuttonGroup.radiobuttonControls

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