# NSCell

scottc@net-community.com

The abstract cell class

1996 Free Software Foundation, Inc.
Software documentation for the NSCell class
AppKit/NSCell.h
NSCopying
NSCoding
Description forthcoming.
defaultMenu
Description forthcoming.
prefersTrackingUntilMouseUp
Description forthcoming.
acceptsFirstResponder
Description forthcoming.
action
Description forthcoming.
alignment
Description forthcoming.
allowsEditingTextAttributes
Description forthcoming.
allowsMixedState
Description forthcoming.
attributedStringValue
Description forthcoming.
calcDrawInfo:
aRect
Description forthcoming.
cellAttribute:
aParameter
Description forthcoming.
cellSize
Description forthcoming.
cellSizeForBounds:
aRect
Description forthcoming.
compare:
otherCell
Compares the reciever to another to another NSCell. The argument must be an NSCell sublclass and have the NSCellType NSTextCellType. Returns the result of the comparison of each cell's stringValue.
continueTracking:
lastPoint
at:
currentPoint
inView:
controlView
Description forthcoming.
controlSize
Description forthcoming.
controlTint
Description forthcoming.
controlView
Description forthcoming.
doubleValue
Description forthcoming.
drawInteriorWithFrame:
cellFrame
inView:
controlView
Description forthcoming.
drawWithFrame:
cellFrame
inView:
controlView
Description forthcoming.
drawingRectForBounds:
theRect
Description forthcoming.
editWithFrame:
aRect
inView:
controlView
editor:
textObject
delegate:
anObject
event:
theEvent
Description forthcoming.
endEditing:
textObject
Description forthcoming.
entryType
Description forthcoming.
floatValue
Description forthcoming.
font
Description forthcoming.
formatter
Description forthcoming.
getPeriodicDelay:
delay
interval:
interval
Description forthcoming.
hasValidObjectValue
Description forthcoming.
highlight:
lit
withFrame:
cellFrame
inView:
controlView
Description forthcoming.
highlightColorWithFrame:
cellFrame
inView:
controlView
Description forthcoming.
image
Description forthcoming.
imageRectForBounds:
theRect
Description forthcoming.
importsGraphics
Description forthcoming.
initImageCell:
anImage
Description forthcoming.
initTextCell:
aString
Description forthcoming.
intValue
Description forthcoming.
isBezeled
Description forthcoming.
isBordered
Description forthcoming.
isContinuous
Description forthcoming.
isEditable
Description forthcoming.
isEnabled
Description forthcoming.
isEntryAcceptable:
aString
Description forthcoming.
isHighlighted
Description forthcoming.
isOpaque
Description forthcoming.
isScrollable
Description forthcoming.
isSelectable
Description forthcoming.
keyEquivalent
Description forthcoming.
menu
Description forthcoming.
menuForEvent:
anEvent
inRect:
cellFrame
ofView:
aView
Description forthcoming.
mnemonic
Description forthcoming.
mnemonicLocation
Description forthcoming.
mouseDownFlags
Description forthcoming.
nextState
Description forthcoming.
objectValue
Description forthcoming.
performClick:
sender
Description forthcoming.
refusesFirstResponder
Description forthcoming.
representedObject
Description forthcoming.
resetCursorRect:
cellFrame
inView:
controlView
Description forthcoming.
selectWithFrame:
aRect
inView:
controlView
editor:
textObject
delegate:
anObject
start:
selStart
length:
selLength
Description forthcoming.
sendActionOn:
mask
Description forthcoming.
sendsActionOnEndEditing
Description forthcoming.
setAction:
aSelector
Description forthcoming.
setAlignment:
mode
Description forthcoming.
setAllowsEditingTextAttributes:
flag
Description forthcoming.
setAllowsMixedState:
flag
Description forthcoming.
setAttributedStringValue:
attribStr
Description forthcoming.
setBezeled:
flag
Description forthcoming.
setBordered:
flag
Description forthcoming.
setCellAttribute:
aParameter
to:
value
Description forthcoming.
setContinuous:
flag
Description forthcoming.
setControlSize:
controlSize
Description forthcoming.
setControlTint:
controlTint
Description forthcoming.
setDoubleValue:
aDouble
Description forthcoming.
setEditable:
flag
Description forthcoming.
setEnabled:
flag
Description forthcoming.
setEntryType:
aType
Description forthcoming.
setFloatValue:
aFloat
Description forthcoming.
setFloatingPointFormat:
autoRange
left:
leftDigits
right:
rightDigits
Description forthcoming.
setFont:
fontObject
Description forthcoming.
setFormatter:
newFormatter
Description forthcoming.
setHighlighted:
flag
Description forthcoming.
setImage:
anImage
Description forthcoming.
setImportsGraphics:
flag
Description forthcoming.
setIntValue:
anInt
Description forthcoming.
setMenu:
aMenu
Description forthcoming.
setMnemonicLocation:
location
Description forthcoming.
setNextState
Description forthcoming.
setObjectValue:
object
Description forthcoming.
setRefusesFirstResponder:
flag
Description forthcoming.
setRepresentedObject:
anObject
Description forthcoming.
setScrollable:
flag
Description forthcoming.
setSelectable:
flag
Description forthcoming.
setSendsActionOnEndEditing:
flag
Description forthcoming.
setShowsFirstResponder:
flag
Description forthcoming.
setState:
value
Description forthcoming.
setStringValue:
aString
Description forthcoming.
setTag:
anInt
Description forthcoming.
setTarget:
anObject
Description forthcoming.
setTitle:
aString
Description forthcoming.
setTitleWithMnemonic:
aString
Description forthcoming.
setType:
aType
Description forthcoming.
setUpFieldEditorAttributes:
textObject
Description forthcoming.
setWraps:
flag
Description forthcoming.
showsFirstResponder
Description forthcoming.
startTrackingAt:
startPoint
inView:
controlView
Description forthcoming.
state
Description forthcoming.
stopTracking:
lastPoint
at:
stopPoint
inView:
controlView
mouseIsUp:
flag
Description forthcoming.
stringValue
Description forthcoming.
tag
Description forthcoming.
takeDoubleValueFrom:
sender
Description forthcoming.
takeFloatValueFrom:
sender
Description forthcoming.
takeIntValueFrom:
sender
Description forthcoming.
takeObjectValueFrom:
sender
Description forthcoming.
takeStringValueFrom:
sender
Description forthcoming.
target
Description forthcoming.
title
Description forthcoming.
titleRectForBounds:
theRect
Description forthcoming.
trackMouse:
theEvent
inRect:
cellFrame
ofView:
controlView
untilMouseUp:
flag
Description forthcoming.
type
Description forthcoming.
wraps
Description forthcoming.
Software documentation for the NSCell(PrivateMethods) category
AppKit/NSCell.h
Warning this category is private, which means that the methods are for internal use by the package. You should not use them in external code.
_drawAttributedText:
aString
inFrame:
aRect
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
Private internal method to display an attributed string.
Important: text should always be vertically centered without considering descender [as if descender did not exist]. This is particularly important for single line texts. Please make sure the output remains always correct.
_drawText:
aString
inFrame:
cellFrame
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
Important: text should always be vertically centered without considering descender [as if descender did not exist]. This is particularly important for single line texts. Please make sure the output remains always correct.
_nonAutoreleasedTypingAttributes
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_sizeText:
title
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
textColor
Description forthcoming.