// public void initKeyEvent(String typeArg,
// boolean canBubbleArg,boolean cancelableArg,boolean ctrlKeyArg,
// boolean altKeyArg,boolean shiftKeyArg,boolean metaKeyArg,
// int keyCodeArg,int charCodeArg,AbstractView viewArg)
ItsNatKeyEvent keyEvt = (ItsNatKeyEvent)evt;
return evtVarName + ".initKeyEvent("
+ "\"" + keyEvt.getType() + "\","
+ keyEvt.getBubbles() + ","
+ keyEvt.getCancelable() + ","
+ keyEvt.getCtrlKey() + ","
+ keyEvt.getAltKey() + ","
+ keyEvt.getShiftKey() + ","
+ keyEvt.getMetaKey() + ","
+ keyEvt.getKeyCode() + ","
+ keyEvt.getCharCode() + ","
+ getViewPath(keyEvt.getView(),clientDoc)
+ ");\n";
}