home *** CD-ROM | disk | FTP | other *** search
Wrap
{\rtf0\ansi\paperw16228 \paperh18648 \margl-907 \margr0 \margt0 \margb0 {\fonttbl\f0\fswiss Helvetica;\f1\froman Times;\f2\fmodern Courier;\f3\ftech Symbol;\f4\froman Palatino;} {\stylesheet{\s0 \li100 \fi0 \ri1007 \ql 1Head;} {\s1 \li100 \fi0 \ri1007 \ql ClassName;} {\s2 \li2872 \fi-2771 \ri1007 \ql \tx2872 ConformsTo;} {\s3 \li2872 \fi-2771 \ri1007 \ql DeclaredIn;} {\s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 Description;} {\s5 \li7030 \fi-5796 \ri1007 \ql DescriptionPart;} {\s6 \li0 \fi0 \ri0 \ql \tx-25 \tx8290 \tx9172 Footer;} {\s7 \li2872 \fi-2771 \ri1007 \ql \tx2872 InheritsFrom;} {\s8 \li100 \fi0 \ri1007 \ql Summary;} } \li0 \fi0 \ri0 \ql \sb0 \f1 \fs24 (Preliminary Documentation) Copyright \f3 \'e3\f1 1994 by NeXT Computer, Inc. All Rights Reserved.\ \ \s0 \li100 \fi0 \ri1007 \ql \f0 \b \fs36 \fs16 \ \ \ \ \ \ \ \fs36 NSTextFieldCell \ \pard \s7 \li2872 \fi-2771 \ri1007 \ql \tx2872 \f1 \b0 \fs28 \fs16 \ \ \ \fs28 \f0 \b \fs28 Inherits From: \b0 \fs28 \f1 NSActionCell : NSCell : NSObject \ \fs16 \ \fs28 \s3 \fs16 \fs28 \f0 \b \fs28 Declared In: \b0 \fs28 \f1 appkit/NSTextFieldCell.h \ \fs16 \ \fs28 \pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs28 \fs16 \ \ \fs28 Modifying Graphic Attributes \ \fs16 \ \fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (NSColor *)\b backgroundColor\b0 Returns the color of the background. \ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b drawsBackground\b0 Returns whether the NSTextFieldCell draws its own background.\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setBackgroundColor:\b0 (NSColor *)\i aColor\i0 Sets the color of the background to \i aColor\i0 . \ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setDrawsBackground\b0 :(BOOL)\i flag \i0 Sets whether the NSTextFieldCell draws its own background.\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setTextColor:\b0 (NSColor *)\i aColor\i0 Sets the color of the text to \i aColor\i0 . \ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b setUpFieldEditorAttributes:\b0 (id)\i textObject\ \fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 Sets text attributes of the field editor to be the same as those of \i textObject\i0 . Used to set the attributes of text such as color and background color, for which there are no explicit methods\ \s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (NSColor *)\b textColor\b0 Returns the color of the text. \ \fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \ \pard \s0 \li100 \fi0 \ri1007 \tx478 \tx856 \tx1234 \fs28 \fs16 \ \ \fs28 \ \fs16 \ \ \fs28 \pard \s0 \ \li100 \fi0 \fs16 \ \ \fs28 \ \fs16 \ \ \fs28 }