2
JavaScript Object Reference
The objects of CameraRAW, the JavaScript type library for Adobe® Photoshop® CS3, are presented
alphabetically and in tabular format in this chapter.
Object properties and methods are described in separate tables for each object. See
Properties Tables
Sample code for several object model classes is given to help illustrate the syntax as well as usage of the
object class.
Working with the Properties Tables
The Properties table for an object lists the following:
The properties you can use with the object
●
The value type for each property
●
When the value type is a constant or another object, the value is a hypertext link to the constant's or
object's listing, as in the following Properties table sample.
The property's input status: read-only or read-write.
●
A description that explains what the property is
●
Descriptions are omitted for self-explanatory properties.
Property
displayDialogs
Working with the Methods Tables
The Methods table for an object lists the following:
The method name
●
Parameter(s)
●
When a parameter type or return value is a constant or another object, the value is a hypertext link to
the constant's or object's listing. In the following Methods table sample, the parameter type
ActionDescriptor
ActionDescriptor
Appeasements can be required or optional. Optional parameters are indicated in the table by square
brackets ([]). See
Return value type(s)
●
A description, if applicable
●
and
Working with the Methods Tables
Value Type
DialogModes
is an object; the parameter type
is also an object.
'Working with Method Parameters' on page 36
for information on how to use these tables.
What it is
Read-write. Controls whether or not Adobe Photoshop CS3
displays dialog boxes.
DialogModes
Working with the
is a constant; the return value
for information on using parameters.
35