Adobe InDesign CS6 (8.0) Object Model JS: ClearFormBehaviors

InDesign CS6

Class

ClearFormBehaviors

 A collection of clear form behavior objects.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

ClearFormBehavior anyItem ()
Returns any ClearFormBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromClearFormBehavior
Long Integer
String
The ClearFormBehavior, index, or name at the beginning of the range. Can accept: ClearFormBehavior, Long Integer or String.
toClearFormBehavior
Long Integer
String
The ClearFormBehavior, index, or name at the end of the range. Can accept: ClearFormBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objClearFormBehaviorThe ClearFormBehavior whose index comes before the desired ClearFormBehavior.

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

ParameterTypeDescription
objClearFormBehaviorThe index of the ClearFormBehavior that follows the desired ClearFormBehavior.

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

Element of

Button.clearFormBehaviors

CheckBox.clearFormBehaviors

ComboBox.clearFormBehaviors

ListBox.clearFormBehaviors

RadioButton.clearFormBehaviors

SignatureField.clearFormBehaviors

TextBox.clearFormBehaviors

Jongware, 28-Apr-2012 v3.0.3hContents :: Index