Package com.arbortext.epic
Interface ADocumentEvent
- All Superinterfaces:
Event
- All Known Implementing Classes:
ADocumentEventImpl
The
ADocumentEvent interface provides specific contextual
information associated with the ADocumentEvent extension.
Use these event types to notify programmers about important document
operations that are not covered by DOM events.- Since:
- Epic 4.4.1
-
Field Summary
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Method Summary
Modifier and TypeMethodDescriptionintSpecifies detail information about theADocumentEvent, depending on the type of event.TherelatedDocumentattribute identifies a document related to the event.TherelatedWindowattribute identifies a window related to the event.Specifies the encoding in which the document is saved in aDocumentSavingevent.Specifies the URI in which the document is saved in aDocumentSavingevent.voidinitADocumentEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Window relatedWindowArg, String targetURIArg, String targetEncodingArg, int detailArg) Method overload which omits the last parameter.voidinitADocumentEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Window relatedWindowArg, String targetURIArg, String targetEncodingArg, int detailArg, Document relatedDocumentArg) Initializes the value of anADocumentEventcreated through theDocumentEventinterface.Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Method Details
-
getRelatedWindow
Window getRelatedWindow()TherelatedWindowattribute identifies a window related to the event. For theDocumentLoadevent,relatedWindowis the window that the document loads to. For theDocumentUnloadevent,relatedWindowis the window that the document unloads from, as long as the window still exists. If the window is destroyed along with the document, thenrelatedWindowisnull. -
getTargetURI
String getTargetURI()Specifies the URI in which the document is saved in aDocumentSavingevent. -
getTargetEncoding
String getTargetEncoding()Specifies the encoding in which the document is saved in aDocumentSavingevent. -
getDetail
int getDetail()Specifies detail information about theADocumentEvent, depending on the type of event. -
getRelatedDocument
Document getRelatedDocument()TherelatedDocumentattribute identifies a document related to the event. ForDocumentCreateevent, if the new document is cloned from another document, therelatedDocumentis the source document that the new document is cloned from.- Since:
- Epic 5.2
-
initADocumentEvent
void initADocumentEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Window relatedWindowArg, String targetURIArg, String targetEncodingArg, int detailArg, Document relatedDocumentArg) Initializes the value of anADocumentEventcreated through theDocumentEventinterface. You should only call this method before theADocumentEventhas been dispatched using thedispatchEventmethod, though it can be called multiple times during that phase if necessary. If theinitADocumentEventis called multiple times, the final call takes precedence.- Parameters:
typeArg- Specifies the event type.canBubbleArg- Indicates whether or not the event can bubble.cancelableArg- Indicates whether or not the event's default action can be prevented.relatedWindowArg- Specifies theWindowrelated to theEvent.targetURIArg- Specifies the target URI. This value may benull.targetEncodingArg- Specifies the target encoding. This value may benull.detailArg- Specifies theEventdetail.relatedDocumentArg- Specifies theDocumentrelated to theEvent.
-
initADocumentEvent
void initADocumentEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Window relatedWindowArg, String targetURIArg, String targetEncodingArg, int detailArg) Method overload which omits the last parameter.
-