Inherits From:
EOAssociation : EODelayedObserver : NSObject
Conforms To:
NSCoding (EOAssociation)
EOObserving (EODelayedObserver)
NSObject (NSObject)
Declared in:
EOInterface/EOTextAssociation.h
Class At a Glance:
Purpose
An EOTextAssociation binds an NSText object to a string or NSData attribute, and can handle plain text, RTF, or RTFD (RTF with attachments).
Usable With
NSText, NSTextView, NSCStringText
Aspects
- value
- A text attribute of the selected object.
- editable
- A boolean attribute of the selected object, which determines whether the NSText object is editable.
Object Keys Taken
- delegate
- An EOTextAssociation accepts delegate messages related to the editing and validation of text; see the NSText,
NSTextView, and NSCStringText class specifications for more
information.
Class Description
An EOTextAssociation displays a plain or rich text attribute in an NSText object. It determines the kind of text received from an object by examining the beginning for signature codes specific to RTF and RTFD. When writing text back to the object, the association examines the configuration of the NSText object to determine the type to use:
Copyright © 1997, Apple Computer, Inc. All rights
reserved.