initADocumentEvent method
Initializes the value of an ADocumentEvent created through the DocumentEvent interface. You should only call this method before the ADocumentEvent has been dispatched using the dispatchEvent method, though it can be called multiple times during that phase if necessary. If the initADocumentEvent is called multiple times, the final call takes precedence.
initADocumentEvent(typeArg, canBubbleArg, cancelableArg, relatedWindowArg, targetURIArg, targetEncodingArg, detailArg [, relatedDocumentArg] )
Parameters
String typeArg
Specifies the event type.
boolean canBubbleArg
Indicates whether or not the event can bubble.
boolean cancelableArg
Indicates whether or not the event's default action can be prevented.
Window relatedWindowArg
Specifies the Window related to the Event.
String targetURIArg
Specifies the target URI. This value may be null.
String targetEncodingArg
Specifies the target encoding. This value may be null.
long detailArg
Specifies the Event detail.
Document relatedDocumentArg
[optional] Specifies the Document related to the Event.
Returns
void
这对您有帮助吗?