Inherits From:
NSActionCell : NSCell : NSObject
Conforms To:
NSCoding (NSCell)
NSCopying (NSCell)
NSObject (NSObject)
Declared In:
AppKit/NSTextFieldCell.h
backgroundColor
Returns the color of the background that the receiver draws behind the text.
See also:
- drawsBackground
, - backgroundColor
(NSTextField), - setBackgroundColor:
drawsBackground
Returns YES if the receiver's cell draws its background color behind its text, NO if it draws no background.
See also:
- backgroundColor
, - drawsBackground
(NSTextField), - setDrawsBackground:
setBackgroundColor:
(NSColor *)color
Sets the color of the background that the receiver draws behind the text to aColor.
See also:
- setDrawsBackground:
, - setBackgroundColor:
(NSTextField) - backgroundColor
setDrawsBackground:
(BOOL)flag
Controls whether the receiver draws its background color behind its text. If flag is YES, then it does; if flag is NO, then it draws nothing behind its text.
See also:
- setBackgroundColor:
, - setDrawsBackground:
(NSTextField), - drawsBackground
setTextColor:
(NSColor *)color
Sets the color used to draw the receiver's text to aColor.
See also:
- setBackgroundColor:
, - setTextColor:
(NSTextField), - textColor
setUpFieldEditorAttributes:
(NSText *)textObj
You never invoke this method directly; by overriding it, however, you can customize or replace the field editor. When you override this method, you should generally invoke super, and return the textObj argument. For information on field editors, see the "Field Editors" section of the NSWindow class description.
textColor
Returns the color used to draw the receiver's text.
See also:
- backgroundColor
, - textColor
(NSTextField), - setTextColor: