The
initKeyEvent
method is used to initialize the value of a
ItsNatKeyEvent
.
This method may only be called before the ItsNatKeyEvent
has been dispatched via the dispatchEvent
method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
@param typeArg specifies the event type.
@param canBubbleArg specifies whether or not the event can bubble.
@param cancelableArg specifies whether or not the event's defaultaction can be prevented.
@param viewArg specifies the
Event
's
AbstractView
.
@param ctrlKeyArg specifies whether or not control key was depressedduring the
Event
.
@param altKeyArg specifies whether or not alt key was depressed duringthe
Event
.
@param shiftKeyArg specifies whether or not shift key was depressedduring the
Event
.
@param metaKeyArg specifies whether or not meta key was depressedduring the
Event
.
@param keyCodeArg specifies the Unicode value of a non-character key in a keypress event or any key in any other type of keyboard event.
@param charCodeArg specifies the Unicode value of a character key that was pressed as part of a keypress event.