NSControl Class Reference
PDF
Overview
About Delegate Methods
Tasks
Initializing an NSControl
Setting the Control’s Cell
Enabling and Disabling the Control
Identifying the Selected Cell
Setting the Control’s Value
Interacting with Other Controls
Formatting Text
Managing the Field Editor
Resizing the Control
Displaying a Cell
Implementing the Target/action Mechanism
Getting and Setting Tags
Activating from the Keyboard
Tracking the Mouse
Control Editing Notifications
Class Methods
cellClass
setCellClass:
Instance Methods
abortEditing
action
alignment
attributedStringValue
baseWritingDirection
calcSize
cell
currentEditor
doubleValue
drawCell:
drawCellInside:
floatValue
font
formatter
ignoresMultiClick
initWithFrame:
integerValue
intValue
isContinuous
isEnabled
mouseDown:
objectValue
performClick:
refusesFirstResponder
selectCell:
selectedCell
selectedTag
sendAction:to:
sendActionOn:
setAction:
setAlignment:
setAttributedStringValue:
setBaseWritingDirection:
setCell:
setContinuous:
setDoubleValue:
setEnabled:
setFloatValue:
setFont:
setFormatter:
setIgnoresMultiClick:
setIntegerValue:
setIntValue:
setNeedsDisplay
setObjectValue:
setRefusesFirstResponder:
setStringValue:
setTag:
setTarget:
sizeToFit
stringValue
tag
takeDoubleValueFrom:
takeFloatValueFrom:
takeIntegerValueFrom:
takeIntValueFrom:
takeObjectValueFrom:
takeStringValueFrom:
target
updateCell:
updateCellInside:
validateEditing
Delegate Methods
controlTextDidBeginEditing:
controlTextDidChange:
controlTextDidEndEditing:
Notifications
NSControlTextDidBeginEditingNotification
NSControlTextDidChangeNotification
NSControlTextDidEndEditingNotification
Appendix A: Deprecated NSControl Methods
Deprecated in Mac OS X v10.0
setFloatingPointFormat:left:right:
Revision History
Index
COMPANION GUIDE
Control and Cell Programming Topics for Cocoa