Inherits from: com.apple.yellow.foundation.NSObject
Package: com.apple.yellow.application
NSMenuItem is the class that OPENSTEP uses to implement the functionality of the NSMenuItem protocol. The NSMenuItem class defines objects that are used as command items in menus. In addition to implementing all of the methods in the NSMenuItem protocol, the NSMenuItem class also includes some private functionality needed to maintain binary compatibility with other components of OPENSTEP. Because of this, you cannot replace the NSMenuItem class with a different class that conforms to the NSMenuItem protocol. You may, however, subclass NSMenuItem if necessary.
The appearance of NSMenuItem objects is tailored to match the user interface of the host system, presently Macintosh, Mach, or Microsoft Windows.
See the NSMenuItem class specification and the NSMenuItem protocol specification for more information on menus.
- NSMenuItem
- + setUsesUserKeyEquivalents:
- + usesUserKeyEquivalents
- - action
- - hasSubmenu
- - isEnabled
- - keyEquivalent
- - keyEquivalentModifierMask
- - mnemonic
- - mnemonicLocation
- - representedObject
- - setAction:
- - setEnabled:
- - setKeyEquivalent:
- - setKeyEquivalentModifierMask:
- - setMnemonicLocation:
- - setRepresentedObject:
- - setTag:
- - setTarget:
- - setTitle:
- - setTitleWithMnemonic:
- - tag
- - target
- - title
- - userKeyEquivalent