Name

NSTextFieldCell — Mac OS X 10.0

Synopsis

This is the NSCell subclass that NSTextField objects use to draw the contents of the control.

image with no caption

@interface NSTextFieldCell : NSActionCell
                                  // Accessor Methods
   - (NSText *)setUpFieldEditorAttributes:(NSText *)textObj;
   - (void)setBezelStyle:(NSTextFieldBezelStyle)style;
   - (NSTextFieldBezelStyle)bezelStyle;
   - (void)setBackgroundColor:(NSColor *)color;
   - (NSColor *)backgroundColor;
   - (void)setTextColor:(NSColor *)color;
   - (NSColor *)textColor;
   - (void)setDrawsBackground:(BOOL)flag;
   - (BOOL)drawsBackground;

Subclasses

NSComboBoxCell, NSSecureTextFieldCell, NSTableHeaderCell

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.