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
Editing Text in a Control
Working with Text Completion
Resizing the Control
Displaying a Cell
Implementing the Target/action Mechanism
Working with Key Bindings
Getting and Setting Tags
Activating from the Keyboard
Tracking the Mouse
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:
setFloatingPointFormat:left:right:
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
control:didFailToFormatString:errorDescription:
control:didFailToValidatePartialString:errorDescription:
control:isValidObject:
control:textShouldBeginEditing:
control:textShouldEndEditing:
control:textView:completions:forPartialWordRange:indexOfSelectedItem:
control:textView:doCommandBySelector:
controlTextDidBeginEditing:
controlTextDidChange:
controlTextDidEndEditing:
Notifications
NSControlTextDidBeginEditingNotification
NSControlTextDidChangeNotification
NSControlTextDidEndEditingNotification
Revision History
Index
Companion Guide
Control and Cell Programming Topics for Cocoa