Deprecated NSTextField Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Available in OS X v10.0 through OS X v10.1
nextText
Returns the object selected when the user presses Tab. (Available in OS X v10.0 through OS X v10.1. Use the NSView method nextKeyView instead.)
Return Value
The object to be selected.
Availability
- Available in OS X v10.0 through OS X v10.1.
Declared In
NSTextField.hpreviousText
Returns the object selected when the user presses Shift-Tab. (Available in OS X v10.0 through OS X v10.1. Use the NSView method previousKeyView instead.)
Return Value
The object to be selected.
Availability
- Available in OS X v10.0 through OS X v10.1.
Declared In
NSTextField.hsetNextText:
Sets the object selected when the user presses Tab. (Available in OS X v10.0 through OS X v10.1. Use the NSView method setNextKeyView: instead.)
Parameters
- anObject
The object to be selected.
Availability
- Available in OS X v10.0 through OS X v10.1.
Declared In
NSTextField.hsetPreviousText:
Sets the object selected when the user presses Shift-Tab. (Available in OS X v10.0 through OS X v10.1. Use the NSView method setNextKeyView: instead.)
Parameters
- anObject
The object to be selected.
Availability
- Available in OS X v10.0 through OS X v10.1.
Declared In
NSTextField.hDeprecated in OS X v10.8
setTitleWithMnemonic:
Sets the receiver’s string value, using the embedded character as the keyboard mnemonic. (Deprecated in OS X v10.8.)
Parameters
- aString
The string to set as the title. The first character preceded by an ampersand (‘&’) is used as the mnemonic (the first ampersand character is stripped out).
Discussion
Mnemonics are not supported in OS X.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.8.
Declared In
NSTextField.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)