AsWing JMenu extension to add Keys accelerators feature for menu item.
public function addMenuItem(caption:String, handler:Function, scope:Object, shortcut:KeyDefinition):FvMenuItemCreates a new menu item.
caption | the string for the menu item to be added |
handler | callback |
scope | context where callback will be called |
shortcut | KeyDefinition accelerator |