Java 类org.eclipse.swt.internal.cocoa.NSMenuItem 实例源码

项目:TuxGuitar-1.3.1-fork    文件:TGCocoa.java   
public static final void setControlAction(NSMenuItem control, long aSelector) throws Throwable{
    invokeMethod(NSMenuItem.class, control, "setAction", new Object[] { osType(aSelector) });
}
项目:TuxGuitar-1.3.1-fork    文件:TGCocoa.java   
public static final NSMenuItem getMenuItemAtIndex(NSMenu menu, long index) throws Throwable{
    return (NSMenuItem)invokeMethod(NSMenu.class, menu, "itemAtIndex", new Object[] { osType(index) });
}
项目:totallicks-tuxguitar    文件:TGCocoa.java   
public static final void setControlAction(NSMenuItem control, long aSelector) throws Throwable{
    invokeMethod(NSMenuItem.class, control, "setAction", new Object[] { osType(aSelector) });
}
项目:totallicks-tuxguitar    文件:TGCocoa.java   
public static final NSMenuItem getMenuItemAtIndex(NSMenu menu, long index) throws Throwable{
    return (NSMenuItem)invokeMethod(NSMenu.class, menu, "itemAtIndex", new Object[] { osType(index) });
}