01: package com.apple.cocoa.application;
02:
03: import com.apple.cocoa.foundation.NSCoding;
04: import com.apple.cocoa.foundation.NSObject;
05: import com.apple.cocoa.foundation.NSSelector;
06:
07: public class NSMenuItem extends NSObject implements
08: _NSObsoleteMenuItemProtocol, NSCoding,
09: NSValidatedUserInterfaceItem {
10: public NSMenuItem() {
11: }
12:
13: public NSMenuItem(String s1, NSSelector nss, String s2) {
14: }
15:
16: public native void setSubmenu(NSMenu nsm);
17:
18: public native void setTarget(Object o);
19:
20: public NSMenuItem separatorItem() {
21: return null;
22: }
23:
24: public native void setEnabled(boolean b);
25: }
|