initAEditEvent method
Initializes the value of an AEditEvent created through the DocumentEvent interface. This method should only be called before the AEditEvent has been dispatched using the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
initAEditEvent(typeArg, canBubbleArg, cancelableArg, relatedRangeArg, detailArg [, bufferNameArg] )
Parameters
String typeArg
Specifies the event type.
boolean canBubbleArg
Specifies whether or not the event can bubble.
boolean cancelableArg
Specifies whether or not the event's default action can be prevented.
Range relatedRangeArg
Specifies the Range that is affected by the event.
long detailArg
Specifies the Event detail.
String bufferNameArg
[optional] Specifies the name of the paste buffer that is used by the AOMCut, AOMCopy, or AOMPaste event. The standard paste buffer is named default.
Returns
void
这对您有帮助吗?