NSDatePickerCell Bindings
Availability Bindings
editable
A multiple-value binding that determines if the NSDatePickerCell
is editable in the user interface.
When editable
is bound, a new binding, editable2
, is exposed and can be bound. Binding to editable2
causes editable3
to be exposed, and so on.
The contents of the NSDatePickerCell
are editable if a logical AND operation on all the editable
bindings results in a Boolean value of YES
.
enabled
A multiple-value binding that determines if the NSDatePickerCell
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 NSDatePickerCell
is enabled if a logical AND operation on all the enabled
bindings results in a Boolean value of YES
.
Font Bindings
font
An NSFont used to display the NSDatePickerCell
.
If font
is bound, all other Font category bindings are disabled.
fontBold
A Boolean value that determines if the NSFont used to display the NSDatePickerCell
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.
fontFamilyName
An NSString that specifies the family name of the NSFont used to display the contents of the NSDatePickerCell
.
If fontFamilyName
is bound to a key, the font
and fontName
bindings are disabled.
fontItalic
A Boolean value that determines if the NSFont used to display the NSDatePickerCell
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.
fontName
An NSString that specifies the full name of the NSFont that is used to display the contents of the NSDatePickerCell
. 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.
fontSize
An integer value that determines the size, in points, of the font used to display the NSDatePickerCell
.
If fontSize
is bound, the font
binding is disabled.
Text Color Bindings
textColor
An NSColor that specifies the color used to display the text of the NSDatePickerCell
.
Value Bindings
maxValue
An NSDate instance that specifies the maximum date value allowed by the NSDatePickerCell
.
minValue
An NSDate instance that specifies the minimum date value allowed by the NSDatePickerCell
.
value
An NSDate instance to be displayed in the NSDatePickerCell
.
Copyright © 2004, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15