mojo:mojo.app.KeyEvent.New

Method New:Void( type:EventType,view:View,key:Key,rawKey:Key,modifiers:Modifier,text:String )

Creates a new key event.