Related class | |
Availability | Available in Mac OS X v10.3 and later.
|
Availability Bindings
Font Bindings
Text Color Bindings
Value Bindings
Value With Pattern Bindings
A multiple-value binding that determines if the NSSecureTextFieldCell 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 NSSecureTextFieldCell are editable if a logical AND operation on all the editable
bindings results in a Boolean value of YES
.
A multiple-value binding that determines if the NSSecureTextFieldCell 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 NSSecureTextFieldCell is enabled if a logical AND operation on all the enabled
bindings results in a Boolean value of YES
.
An NSFont used to display the NSSecureTextFieldCell.
If font
is bound, all other Font category bindings are disabled.
A Boolean value that determines if the NSFont used to display the NSSecureTextFieldCell 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 NSSecureTextFieldCell.
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 NSSecureTextFieldCell 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 NSSecureTextFieldCell. 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 NSSecureTextFieldCell.
If fontSize
is bound, the font
binding is disabled.
An NSColor that specifies the color used to display the text of the NSSecureTextFieldCell.
An NSString or NSNumber that is displayed as the content of the NSSecureTextFieldCell.
A multiple-value binding that specifies a string value that replaces %{value1}@
in a display pattern string that is used to set the value of the NSSecureTextFieldCell.
When displayPatternValue1
is bound, a new binding, displayPatternValue2
, is exposed and can be bound. Binding to displayPatternValue2
causes displayPatternValue3
to be exposed, and so on.
The Display Pattern binding option is an NSString that is used as the pattern string. The appropriate displayPatternValueX
binding value is substituted for the %{valueX}@
pattern in the display string.
As an example, if displayPatternValue1
evaluates to 22
, displayPatternValue2
evaluates to 5
and the Display Pattern string is "%{value2}@ of %{value1}@ rows are selected"
, the resulting value will be "5 of 22 rows are selected".
If displayPatternValue1
is bound, the value
binding is not available.
© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)