Related class | |
Availability | Available in Mac OS X v10.3 and later.
|
Availability Bindings
Font Bindings
Parameters Bindings
Value Selection Bindings
A multiple-value binding that determines if the NSPopUpButton 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 NSPopUpButton is enabled if a logical AND operation on all the enabled
bindings results in a Boolean value of YES
.
A multiple-value binding that determines if the NSPopUpButton is displayed in the user interface.
When hidden
is bound, a new binding, hidden2
, is exposed and can be bound. Binding to hidden2
causes hidden3
to be exposed, and so on.
The NSPopUpButton is hidden if a logical OR operation on all the hidden
bindings results in a Boolean value of YES
.
An NSFont used to display the NSPopUpButton.
If font
is bound, all other Font category bindings are disabled.
A Boolean value that determines if the NSFont used to display the NSPopUpButton is bold. If fontBold
evaluates to YES
, the bold attribute is added to the font.
If fontBold
is bound, the font
and fontName
bindings are disabled.
An NSString that specifies the family name of the NSFont used to display the contents of the NSPopUpButton.
If fontFamilyName
is bound to a key, the font
and fontName
bindings are disabled.
A Boolean value that determines if the NSFont used to display the NSPopUpButton is italic. If fontItalic
evaluates to YES
, the italic attribute is added to the font.
If fontItalic
is bound, the font
and fontName
bindings are disabled.
An NSString that specifies the full name of the NSFont that is used to display the contents of the NSPopUpButton. The full font name includes the family and the style of the font — for example, "Helvetica-Bold".
If fontName
bound to a key, the font
, fontBold
, fontFamilyName
and fontItalic
bindings are disabled.
An integer value that determines the size, in points, of the font used to display the NSPopUpButton.
If fontSize
is bound, the font
binding is disabled.
An NSString that contains the tool tip to display for this NSPopUpButton.
An NSArrayController instance that provides the content of the NSPopUpButton.
Unless contentValues
is also bound, the titles of the items in the NSPopUpButton are derived by invoking description for each of the content objects.
An array of objects that are returned by selectedObject
or selectedObjects
in place of the corresponding content
object.
If content
is not bound, the contentObjects
binding is not available.
An array of strings that are displayed as the items in the NSPopUpButton.
An integer value that specifies the index of the selected item in the NSPopUpButton. When the selection changes in the NSPopUpButton, this value is updated with the index of the newly selected item.
An object that specifies the item that is selected in the NSPopUpButton. This is the object in the content
that corresponds to the currently selected item.
The selectedObject
binding is only available when the content
binding is bound.
An integer value that specifies the tag of the selected item in the NSPopUpButton. When the selection changes in the NSPopUpButton, this value is updated with the tag of the newly selected item.
An NSString that specifies the title of the selected item in the NSPopUpButton.
© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)