NSCell Class Reference
PDF
Overview
Adopted Protocols
Tasks
Initializing a Cell
Managing Cell Values
Managing Cell Attributes
Managing Display Attributes
Managing Cell State
Modifying Textual Attributes
Managing the Target and Action
Managing the Image
Managing the Tag
Formatting and Validating Data
Managing Menus
Comparing Cells
Respond to Keyboard Events
Deriving Values
Representing an Object
Tracking the Mouse
Hit Testing
Managing the Cursor
Handling Keyboard Alternatives
Managing Focus Rings
Determining Cell Size
Drawing and Highlighting
Editing and Selecting Text
Managing Expansion Frames
Class Methods
defaultFocusRingType
defaultMenu
prefersTrackingUntilMouseUp
Instance Methods
acceptsFirstResponder
action
alignment
allowsEditingTextAttributes
allowsMixedState
allowsUndo
attributedStringValue
backgroundStyle
baseWritingDirection
calcDrawInfo:
cellAttribute:
cellSize
cellSizeForBounds:
compare:
continueTracking:at:inView:
controlSize
controlTint
controlView
doubleValue
drawingRectForBounds:
drawInteriorWithFrame:inView:
drawWithExpansionFrame:inView:
drawWithFrame:inView:
editWithFrame:inView:editor:delegate:event:
endEditing:
expansionFrameWithFrame:inView:
floatValue
focusRingType
font
formatter
getPeriodicDelay:interval:
hasValidObjectValue
highlight:withFrame:inView:
highlightColorWithFrame:inView:
hitTestForEvent:inRect:ofView:
image
imageRectForBounds:
importsGraphics
initImageCell:
initTextCell:
integerValue
interiorBackgroundStyle
intValue
isBezeled
isBordered
isContinuous
isEditable
isEnabled
isEntryAcceptable:
isHighlighted
isOpaque
isScrollable
isSelectable
keyEquivalent
lineBreakMode
menu
menuForEvent:inRect:ofView:
mnemonic
mnemonicLocation
mouseDownFlags
nextState
objectValue
performClick:
preparedImage
refusesFirstResponder
representedObject
resetCursorRect:inView:
selectWithFrame:inView:editor:delegate:start:length:
sendActionOn:
sendsActionOnEndEditing
setAction:
setAlignment:
setAllowsEditingTextAttributes:
setAllowsMixedState:
setAllowsUndo:
setAttributedStringValue:
setBackgroundStyle:
setBaseWritingDirection:
setBezeled:
setBordered:
setCellAttribute:to:
setContinuous:
setControlSize:
setControlTint:
setControlView:
setDoubleValue:
setEditable:
setEnabled:
setFloatingPointFormat:left:right:
setFloatValue:
setFocusRingType:
setFont:
setFormatter:
setHighlighted:
setImage:
setImportsGraphics:
setIntegerValue:
setIntValue:
setLineBreakMode:
setMenu:
setMnemonicLocation:
setNextState
setObjectValue:
setRefusesFirstResponder:
setRepresentedObject:
setScrollable:
setSelectable:
setSendsActionOnEndEditing:
setShowsFirstResponder:
setState:
setStringValue:
setTag:
setTarget:
setTitle:
setTitleWithMnemonic:
setTruncatesLastVisibleLine:
setType:
setUpFieldEditorAttributes:
setWraps:
showsFirstResponder
startTrackingAt:inView:
state
stopTracking:at:inView:mouseIsUp:
stringValue
tag
takeDoubleValueFrom:
takeFloatValueFrom:
takeIntegerValueFrom:
takeIntValueFrom:
takeObjectValueFrom:
takeStringValueFrom:
target
title
titleRectForBounds:
trackMouse:inRect:ofView:untilMouseUp:
truncatesLastVisibleLine
type
wantsNotificationForMarkedText
wraps
Constants
NSCellType
Cell Types
NSCellAttribute
Cell Attributes
NSCellImagePosition
Image Position
NSImageScaling
Image Scaling
Deprecated Constants
NSCellStateValue
Cell States
State Masks
NSControlTint
Control Tints
NSControlSize
Control Sizes
Hit Testing
Data Entry Types
NSBackgroundStyle
Background Styles
Notifications
NSControlTintDidChangeNotification
Appendix A: Deprecated NSCell Methods
Deprecated in Mac OS X v10.0 and later
entryType
setEntryType:
Revision History
Index
Companion Guide
Control and Cell Programming Topics for Cocoa