This is NSTextFieldCell.rtf in view mode; [Download] [Up]
paperh18648 margl-907 margr0 margt0 margb0 fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1994 by NeXT Computer, Inc. All Rights Reserved. s4 li100 fi0 ri1007 ql f0 b fs36 fs100 fs36 NSTextFieldCell pard s11 li2872 fi-2771 ri1007 ql tx2872 f1 b0 fs28 fs48 fs28 f0 b fs24 Inherits From:tab b0 fs28 f1 NSActionCell : NSCell : NSObject fs20 fs28 s6 f0 b fs24 Conforms To:tab b0 fs28 f1 NSCoding, NSCopying (NSCell) fi0 NSObject (NSObject) fs20 fs28 s7 fi-2771 f0 b fs24 Declared In:tab b0 fs28 f1 AppKit/NSTextFieldCell.h fs20 fs28 pard s16 li100 fi0 ri1007 ql f0 b fs28 fs20 fs28 Class Description fs14 fs28 pard s1 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 fs28 NSCells display text or images'd0an NSTextFieldCell is simply an NSCell that displays text and that keeps track of its background and text colors. Normally, the NSCell class assumes white as the background when bezeled, and light gray otherwise, and the text is always black. With NSTextFieldCell, you can specify those colors. fs16 fs28 pard s16 li100 fi0 ri1007 ql f0 b fs24 fs28 Modifying Graphic Attributes fs14 fs28 pard s8 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (NSColor *)b backgroundColorb0 tab Returns the color of the background. fi-6552 fs16 fs28 fi-6552 {f3 -} (BOOL)b drawsBackgroundb0 tab Returns whether the NSTextFieldCell draws its own background. fi-6552 fs16 fs28 fi-6552 {f3 -} (void)b setBackgroundColor:b0 (NSColor *)i aColori0 tab Sets the color of the background to i aColori0 . fi-6552 fs16 fs28 fi-6552 {f3 -} (void)b setDrawsBackgroundb0 :(BOOL)i flagtab i0 Sets whether the NSTextFieldCell draws its own background. fi-6552 fs16 fs28 fi-6552 {f3 -} (void)b setTextColor:b0 (NSColor *)i aColori0 tab Sets the color of the text to i aColori0 . fi-6552 fs16 fs28 fi-6552 {f3 -} (id)b setUpFieldEditorAttributes:b0 (id)i textObjecti0 tab Sets text attributes of the field editor to be the same as those of i textObjecti0 . Used to set the attributes of text such as color and background color, for which there are no explicit methods. fi-6552 fs16 fs28 fi-6552 {f3 -} (NSColor *)b textColorb0 tab Returns the color of the text. s9 li7030 fi-6553 fi-5796 }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.