Class
A print event Base Class: Event
getElements, preventDefault, stopPropagation, toSource, toSpecifier
PrintEvent
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bubbles | bool | readonly | If true, the event supports the bubbling phase of propagation. |
cancelable | bool | readonly | If true, the default behavior of the event on its target can be canceled. |
currentTarget | Object | readonly | The current propagation target of the event. |
defaultPrevented | bool | readonly | If true, the default behavior of the event on its target has been canceled. |
documentPrintUiOption | Array of DocumentPrintUiOptions: DocumentPrintUiOptions.SUPPRESS_PRINT_PROGRESS DocumentPrintUiOptions.SUPPRESS_PRINT_WARNINGS DocumentPrintUiOptions.SUPPRESS_PRINT_DIALOG DocumentPrintUiOptions.SUPPRESS_FILE_SAVE_DIALOG |
r/w | UI options for print document |
eventPhase | EventPhases: EventPhases.NOT_DISPATCHING EventPhases.AT_TARGET EventPhases.BUBBLING_PHASE EventPhases.DONE |
readonly | The current propagation phase of the event. |
eventType | string | readonly | The name of the event. |
id | number | readonly | The unique ID of the PrintEvent. |
index | number | readonly | The index of the PrintEvent within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Document | readonly | The parent of the PrintEvent (a Document). |
propagationStopped | bool | readonly | If true, propagation of the event beyond the current target has been stopped. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
target | Object | readonly | The target of the event. |
timeStamp | Date | readonly | The time the event was initialized. |
Class
Property | Type | Access | Description |
---|---|---|---|
AFTER_PRINT | string | readonly | Dispatched after a PrintEvent is printed. This event bubbles. This event is not cancelable. (default: afterPrint) |
BEFORE_PRINT | string | readonly | Dispatched before a PrintEvent is printed. This event bubbles. This event is cancelable. (default: beforePrint) |
Methods
Instances
Array of PrintEvent getElements ()
Resolves the object specifier, creating an array of object references.
void preventDefault ()
Cancels the default behavior of the event on its target.
void stopPropagation ()
Stops propagation of the event beyond the current target.
string toSource ()
Generates a string which, if executed, will return the PrintEvent.
Return
Array of PrintEvent PrintEvent.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |