public static final void setControlAction(NSMenuItem control, long aSelector) throws Throwable{ invokeMethod(NSMenuItem.class, control, "setAction", new Object[] { osType(aSelector) }); }
public static final NSMenuItem getMenuItemAtIndex(NSMenu menu, long index) throws Throwable{ return (NSMenuItem)invokeMethod(NSMenu.class, menu, "itemAtIndex", new Object[] { osType(index) }); }