Adobe FrameMaker-12 Object Model JS: Event (SUI)
From FrameMaker 12.0
Class
Event (SUI)
Base class for UIEvent.
Encapsulates input event information for an event that propagates through a container and control hierarchy. Implements W3C standard event handling.
QuickLinks
preventDefault, stopPropagationProperties
| Property | Type | Access | Description |
|---|---|---|---|
| bubbles | Boolean | readonly | True if the event is of a type that bubbles. |
| cancelable | Boolean | readonly | True if the default action associated with the event can be canceled with preventDefault(). |
| captures | Boolean | readonly | True if this event can be captured. |
| currentTarget | Boolean | readonly | The event target object which is currently handling the event. During capturing and bubbling, this is different from the property target. |
| eventPhase | String | readonly | The current phase of event propagation; one of none, target, capture, bubble. |
| target | Object | readonly | The event target object for this event. |
| timeStamp | Date | readonly | The date and time at which the event occurred. |
| type | String | readonly | The name of the event that this object represents. Event types are listed in the JavaScript Tools Guide. |
Class
| Property | Type | Access | Description |
|---|---|---|---|
| AT_TARGET | any | readonly | |
| BUBBLING_PHASE | any | readonly | |
| CAPTURING_PHASE | any | readonly | |
| NOT_DISPATCHING | any | readonly |
Methods
Instances
void preventDefault ()
Prevents the default action associated with this event from being called.
void stopPropagation ()
Stops the propagation of this event.
Return
Event Events (SUI).createEvent (eventType: String)
| Jongware, 18-Jan-2015 v1.0 | Contents :: Index |