Related class | |
Availability | Available in Mac OS X v10.3 and later.
|
Availability Bindings
Parameters Bindings
Value Bindings
A multiple-value binding that determines if the NSMenuItem is enabled in the user interface.
When enabled
is bound, a new binding, enabled2
, is exposed and can be bound. Binding to enabled2
causes enabled3
to be exposed, and so on.
The NSMenuItem is enabled if a logical AND operation on all the enabled
bindings results in a Boolean value of YES
.
An NSImage that specifies the image displayed by the NSMenuItem.
An NSImage that is displayed when the value of the NSMenuItem is NSMixedState
.
The default image is an en dash.
An NSImage that is displayed when the value of the NSMenuItem is NSOffState
.
The default is an empty image.
An NSImage that is displayed when the value of the NSMenuItem is NSOnStatem
.
The default image is a checkmark.
An NSString value that is displayed as the label of the NSMenuItem.
An integer value that specifies the state of the NSMenuItem.
If value
evaluates to 0
(NSOffState
) or nil
, the off state image is displayed; the default is an empty image. If value
evaluates to 1
(NSOnState
), the on state image is displayed; the default is a checkmark. If value
evaluates to -1
(NSMixedState
), the mixed state image is displayed, the default is an en dash.
© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)