An open file behavior object.
Go to Property Listing | Method Listing
extractLabel, getElements, insertLabel, remove, toSource, toSpecifier
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
The event which triggers the behavior. |
||
|
read/write |
If true, the behavior is enabled. |
||
|
read/write |
The file path (colon delimited on the Mac OS). Can also accept: File. |
||
|
readonly |
The unique ID of the OpenFileBehavior. |
||
|
readonly |
The index of the OpenFileBehavior within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
The name of the OpenFileBehavior. |
||
|
readonly |
The parent of the OpenFileBehavior (a Button or FormField). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
OpenFileBehavior getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the OpenFileBehavior.
String toSource ()
Generates a string which, if executed, will return the OpenFileBehavior.
String toSpecifier ()
Retrieves the object specifier.