May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSText — Mac OS X 10.0
NSText inherits from NSView and
is the parent class of NSTextView. It declares the
most general interface for objects that manage and display text;
however, clients generally interact with
NSTextView objects rather than instances of
NSText itself.
|
![]()
|
@interface NSText : NSView <NSChangeSpelling, NSIgnoreMisspelledWords>
|
// Accessor Methods
|
- (void)setHorizontallyResizable:(BOOL)flag; |
- (void)setString:(NSString *)string; |
- (NSString *)string;
|
- (void)setDelegate:(id)anObject; |
- (id)delegate;
|
- (void)setSelectedRange:(NSRange)range; |
- (NSRange)selectedRange;
|
- (void)setSelectable:(BOOL)flag; |
- (void)setMinSize:(NSSize)newMinSize; |
- (NSSize)minSize;
|
- (void)setRichText:(BOOL)flag; |
- (void)setImportsGraphics:(BOOL)flag; |
- (BOOL)importsGraphics;
|
- (void)setBackgroundColor:(NSColor *)color; |
- (NSColor *)backgroundColor;
|
- (void)setMaxSize:(NSSize)newMaxSize; |
- (NSSize)maxSize;
|
- (void)setUsesFontPanel:(BOOL)flag; |
- (BOOL)usesFontPanel;
|
- (void)setFieldEditor:(BOOL)flag; |
- (void)setAlignment:(NSTextAlignment)mode; |
- (NSTextAlignment)alignment;
|
- (void)setVerticallyResizable:(BOOL)flag; |
- (void)setFont:(NSFont *)obj; |
- (NSFont *)font;
|
- (void)setTextColor:(NSColor *)color; |
- (NSColor *)textColor;
|
- (void)setDrawsBackground:(BOOL)flag; |
- (BOOL)drawsBackground;
|
- (void)setTextColor:(NSColor ... |
Read now
Unlock full access