scottc@net-community.com
)far@ix.netcom.com
)n.pero@mi.flashnet.it
)Text field control class for text entry
Copyright: (C) 1996 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSTextField.h
Returns whether the NSTextField accepts to be the
first responder. This method returns
YES
if the NSTextField is selectable
and if there is no NSText object
See Also: -becomeFirstResponder -isSelectable [NSView -acceptsFirstResponder]
Returns the color used to draw the background.
See Also: -setBackgroundColor: setDrawsBackground: -drawsBackground [NSTextFieldCell -backgroundColor]
Returns whether the NSTextField draws the
background. By default NO
.
See Also: -setDrawsBackground: [NSTextFieldCell -drawsBackground]
Returns whether the NSTextField's cell has bezeled border.
See Also: -setBezeled: [NSTextFieldCell -isBezeled]
Returns whether the NSTextField's cell has border.
See Also: -setBordered: [NSTextFieldCell -isBordered]
Returns whether the NSTextField is editable. By default a NSTextField is not editable.
See Also: -setEditable: [NSCell -isEditable]
Returns the object selected when the user presses the TAB key.
See Also: -setNextText: [NSView -nextKeyView]
Returns the object selected when the user presses the Shift-TAB key.
See Also: -setPreviousText: [NSView -previousKeyView]
Selects all the text of the NSTextField if it's selectable.
Sets the color used to draw the background to aColor.
See Also: -backgroundColor -setDrawsBackground: -drawsBackground [NSTextFieldCell -setBackgroundColor:]
Sets whether the NSTextField's cell has bezeled border.
See Also: -isBezeled [NSTextFieldCell -setBezeled:]
Sets whether the NSTextField's cell has border.
See Also: -isBordered [NSTextFieldCell -setBordered:]
Sets whether the NSTextField draws the background.
By default NO
.
See Also: -drawsBackground [NSTextFieldCell -setDrawsBackground:]
Sets whether the NSTextField's cell and the NSText object is editable. By default a NSTextField is not editable.
See Also: -isEditable [NSCell -setEditable:] [NSText -setEditable:]
Sets the object selected when the user presses the TAB key to anObject.
See Also: -nextText [NSView -setNextKeyView:]
Sets the object selected when the user presses the shift-TAB key to anObject.
See Also: -previousText [NSView -setPreviousKeyView:]
Sets whether the NSTextField's cell and the NSText object is selectable.
See Also: -isSelectable [NSTextFieldCell -setSelectable:] [NSText -setSelectable:]
Sets the color with which the text will be draw to aColor.
See Also: -textColor [NSTextFieldCell -setTextColor:]
- Declared in:
- AppKit/NSTextField.h
- Conforms to:
- NSControlTextEditingDelegate