This is NSFormCell.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 NSFormCell pard s14 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 s7 f0 b fs24 Conforms To:tab b0 fs28 f1 NSCoding, NSCopying (NSCell) fi0 NSObject (NSObject) fs20 fs28 s8 fi-2771 f0 b fs24 Declared In:tab b0 fs28 f1 AppKit/NSFormCell.h fs20 fs28 pard s19 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 This class is used to implement entries in an NSForm. It displays a title within itself, on the left-hand side of the cell. Editing is allowed only in the remaining (right-hand) portion. fs16 fs28 See the NSForm class specification for more on the use of NSFormCell. fs16 fs28 pard s19 li100 fi0 ri1007 ql f0 b fs24 fs28 Initializing an NSFormCell fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (id)b initTextCell:b0 (NSString *)i aStringi0 tab Initializes a new NSFormCell with i aStringi0 as its title. pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Determining an NSFormCell'27s Size fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (NSSize)b cellSizeForBounds:b0 (NSRect)i aRecti0 tab Calculates the NSFormCell'27s size within i aRecti0 . pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Determining Graphic Attributes fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (BOOL)b isOpaqueb0 tab Returns whether the NSFormCell is opaque. pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Modifying the Title fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (void)b setTitle:b0 (NSString *)i aStringi0 tab Sets the NSFormCell'27s title to i aStringi0 . fi-6552 fs16 fs28 fi-6552 {f3 -} (void)b setTitleAlignment:b0 (NSTextAlignment)i modei0 tab Sets the alignment of the title to i modei0 . fi-6552 fs16 fs28 fi-6552 {f3 -} (void)b setTitleFont:b0 (NSFont *)i fontObjecti0 tab Sets the font used to draw the title to i fontObjecti0 . fi-6552 fs16 fs28 fi-6552 {f3 -} (void)b setTitleWidth:b0 (float)i widthi0 tab Sets the width of the NSFormCell'27s title field to i widthi0 . fi-6552 fs16 fs28 fi-6552 {f3 -} (NSString *)b titleb0 tab Returns the NSFormCell'27s title. fi-6552 fs16 fs28 fi-6552 {f3 -} (NSTextAlignment)b titleAlignmentb0 tab Returns the alignment of the title. fi-6552 fs16 fs28 fi-6552 {f3 -} (NSFont *)b titleFontb0 tab Returns the font used to draw the title. fi-6552 fs16 fs28 fi-6552 {f3 -} (float)b titleWidthb0 tab Returns the width of the title. fi-6552 fs16 fs28 fi-6552 {f3 -} (float)b titleWidth:b0 (NSSize)i aSizei0 tab Returns the width of the title, constrained to i aSizei0 . pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Displaying fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (void)b drawInteriorWithFrame:b0 (NSRect)i cellFramei0 tab Draws only the editable text portion of the FormCell. s11 li7030 fi-6553 fi-5796 b inView:b0 (NSView *)i controlView }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.