Adds an event listener.
Object
Behavior
A behavior object.
Extended byAnimationBehavior·ClearFormBehavior·GotoAnchorBehavior·GotoFirstPageBehavior·GotoLastPageBehavior·GotoNextPageBehavior·GotoNextStateBehavior·GotoNextViewBehavior·GotoPageBehavior·GotoPreviousPageBehavior·GotoPreviousStateBehavior·GotoPreviousViewBehavior·GotoStateBehavior·GotoURLBehavior·MovieBehavior·OpenFileBehavior·PrintFormBehavior·ShowHideFieldsBehavior·SoundBehavior·SubmitFormBehavior·ViewZoomBehavior
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| BehaviorEvents | read/write | The event which triggers the behavior. | |
| Boolean | read/write | If true, the behavior is enabled. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the Behavior. | |
| Number | readonly | The index of the Behavior within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| String | readonly | The name of the Behavior. | |
| CheckBox | ComboBox | ListBox | RadioButton | TextBox | Button | SignatureField | readonly | The parent of the Behavior (a Button, CheckBox, ComboBox, ListBox, RadioButton, TextBox or SignatureField). | |
| Object | read/write | A property that allows setting of several properties at the same time. |
Methods
→ String
Gets the label value associated with the specified key.
→ Behavior[]
Resolves the object specifier, creating an array of object references.
→ void
Sets the label to the value associated with the specified key.
→ void
Deletes the Behavior.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the Behavior.
→ String
Retrieves the object specifier.
Object of 4
Properties elsewhere that hold a Behavior.
Parameter of 5
Method parameters that accept a Behavior.
Return 13
Methods that return a Behavior.