Classes

NSActionCell
NSAlert
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCollectionView
NSCollectionViewItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphicsContext
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputServer
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableParagraphStyle
NSNib
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPopUpButton
NSPopUpButtonCell
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRuleEditor
NSRulerMarker
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSecureTextField
NSSecureTextFieldCell
NSSelection
NSSharingService
NSSharingServicePicker
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSStepper
NSStepperCell
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSTokenField
NSTokenFieldCell
NSUserDefaultsController
NSView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAlertDelegate>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextFieldDelegate>
<NSTextViewDelegate>
<NSWindowDelegate>
(NSAlertDelegate)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

Functions

Macros

Types

Variables

Up

NSTextFieldCell

Authors

Scott Christley (scottc@net-community.com)
Nicola Pero (n.pero@mi.flashnet.it)

Date: Generated at 2025-07-12 14:18:56 +0000

Cell class for the text field entry control

Copyright: (C) 1996 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSTextFieldCell class
  2. Software documentation for the NSTextFieldCell(PrivateMethods) category

Software documentation for the NSTextFieldCell class

NSTextFieldCell : NSActionCell

Declared in:
AppKit/NSTextFieldCell.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


backgroundColor 

- (NSColor*) backgroundColor;
Availability: OpenStep

Returns the color used to draw the background

See Also: -setBackgroundColor:


bezelStyle 

- (NSTextFieldBezelStyle) bezelStyle;
Availability: MacOS-X 10.2.0

Description forthcoming.

drawsBackground 

- (BOOL) drawsBackground;
Availability: OpenStep

Returns whether the NSTextFieldCell draw its background color

See Also: -setBackgroundColor:


placeholderAttributedString 

- (NSAttributedString*) placeholderAttributedString;
Availability: MacOS-X 10.3.0

Description forthcoming.

placeholderString 

- (NSString*) placeholderString;
Availability: MacOS-X 10.3.0

Description forthcoming.

setBackgroundColor: 

- (void) setBackgroundColor: (NSColor*)aColor;
Availability: OpenStep

Description forthcoming.

setBezelStyle: 

- (void) setBezelStyle: (NSTextFieldBezelStyle)style;
Availability: MacOS-X 10.2.0

Description forthcoming.

setDrawsBackground: 

- (void) setDrawsBackground: (BOOL)flag;
Availability: OpenStep

Sets whether the NSTextFieldCell draw its background color

See Also: -drawsBackground


setPlaceholderAttributedString: 

- (void) setPlaceholderAttributedString: (NSAttributedString*)string;
Availability: MacOS-X 10.3.0

Description forthcoming.

setPlaceholderString: 

- (void) setPlaceholderString: (NSString*)string;
Availability: MacOS-X 10.3.0

Description forthcoming.

setTextColor: 

- (void) setTextColor: (NSColor*)aColor;
Availability: OpenStep

Sets the text color to aColor

See Also: -textColor


textColor 

- (NSColor*) textColor;
Availability: OpenStep

Returns the text color

See Also: -setTextColor:




Instance Variables for NSTextFieldCell Class

_background_color

@protected NSColor* _background_color;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_bezelStyle

@protected unsigned int _bezelStyle;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_placeholder

@protected id _placeholder;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_text_color

@protected NSColor* _text_color;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSTextFieldCell(PrivateMethods) category

NSTextFieldCell(PrivateMethods)

Declared in:
AppKit/NSTextFieldCell.h
Availability: OpenStep

Warning this category is private, which means that the methods are for internal use by the package. You should not use them in external code.

Method summary


_drawBackgroundWithFrame: inView: 

- (void) _drawBackgroundWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Up