Related class | |
Availability | Available in Mac OS X v10.3 and later.
|
Availability Bindings
Font Bindings
Parameters Bindings
Text Color Bindings
Value Bindings
A multiple-value binding that determines if the NSTextView 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 NSTextView 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 NSTextView 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 NSTextView 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 NSTextView.
If font
is bound, all other Font category bindings are disabled.
A Boolean value that determines if the NSFont used to display the NSTextView 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 NSTextView.
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 NSTextView 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 NSTextView. 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 NSTextView.
If fontSize
is bound, the font
binding is disabled.
An NSString that contains the tool tip to display for this NSTextView.
An NSColor that specifies the color used to display the text of the NSTextView.
An NSAttributedString object that contains the formatted content of the NSTextView.
An NSData instance containing the formatted text of the NSTextView.
The NSData contains either the RTF or RTFD representation of the NSTextView contents, depending on the configuration of the NSTextView.
This binding is only available when the NSTextView is configured to allow multiple fonts.
An NSString that contains the plain text displayed in the NSTextView.
This binding is only available when the NSTextView is configured to display using as a single font.
An NSString that specifies the full path of the content to display in the NSTextView.
An NSURL or NSString that specifies the location of a file to be displayed in the NSTextView. The file must contain data that an NSTextView is able to display.
© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)