Adobe InDesign CS4 (6.0) Object Model JS: TextEditbox

InDesign CS4

Class

TextEditbox

 A text entry field. Base Class: Widget

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

BorderPanel | DialogColumn | DialogRow | EnablingGroup
Widget
TextEditbox

Properties

PropertyTypeAccessDescription
editContentsstring r/wThe default value in an editbox control. Note: Do not specify both edit contents and edit value. If both are specified, the one that occurs later in the script is used.
idnumber readonlyThe unique ID of the TextEditbox.
indexnumber readonlyThe index of the TextEditbox within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
minWidthnumber r/wThe width of the control. For an editbox or combobox, specifies the minimum width of the box.
parentBorderPanelDialogColumn
DialogRow
EnablingGroup
readonlyThe parent of the TextEditbox (a DialogColumn, DialogRow, EnablingGroup or BorderPanel).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

Array of TextEditbox getElements ()
Resolves the object specifier, creating an array of object references.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of TextEditbox TextEditboxes.itemByRange (from: any, to: any)

TextEditbox TextEditboxes.nextItem (obj: TextEditbox)

TextEditbox TextEditboxes.previousItem (obj: TextEditbox)

Return

Array of TextEditbox TextEditbox.getElements ()

TextEditbox TextEditboxes.[] (index: number)

TextEditbox TextEditboxes.add ([withProperties: Object])

TextEditbox TextEditboxes.anyItem ()

Array of TextEditbox TextEditboxes.everyItem ()

TextEditbox TextEditboxes.firstItem ()

TextEditbox TextEditboxes.item (index: any)

TextEditbox TextEditboxes.itemByID (id: number)

TextEditbox TextEditboxes.itemByName (name: string)

Array of TextEditbox TextEditboxes.itemByRange (from: any, to: any)

TextEditbox TextEditboxes.lastItem ()

TextEditbox TextEditboxes.middleItem ()

TextEditbox TextEditboxes.nextItem (obj: TextEditbox)

TextEditbox TextEditboxes.previousItem (obj: TextEditbox)

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