[Previous] [Up] [Next]

NSCell

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSCell

NSCell

Declared in: Gui/NSCell.h

Inherits from: NSObject

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

defaultMenu

+ (NSMenu*) defaultMenu;

prefersTrackingUntilMouseUp

+ (BOOL) prefersTrackingUntilMouseUp;


Instances Methods

acceptsFirstResponder

- (BOOL) acceptsFirstResponder;

action

- (SEL) action;

alignment

- (NSTextAlignment) alignment;

allowsEditingTextAttributes

- (BOOL) allowsEditingTextAttributes;

allowsMixedState

- (BOOL) allowsMixedState;

attributedStringValue

- (NSAttributedString*) attributedStringValue;

calcDrawInfo:

- (void) calcDrawInfo: (NSRect)aRect;

cellAttribute:

- (int) cellAttribute: (NSCellAttribute)aParameter;

cellSize

- (NSSize) cellSize;

cellSizeForBounds:

- (NSSize) cellSizeForBounds: (NSRect)aRect;

compare:

- (NSComparisonResult) compare: (id)otherCell;

continueTracking:at:inView:

- (BOOL) continueTracking: (NSPoint)lastPoint at: (NSPoint)currentPoint inView: (NSView*)controlView;

controlView

- (NSView*) controlView;

doubleValue

- (double) doubleValue;

drawInteriorWithFrame:

- (void) drawInteriorWithFrame: (NSRect)cellFrame;

drawWithFrame:

- (void) drawWithFrame: (NSRect)cellFrame;

drawingRectForBounds:

- (NSRect) drawingRectForBounds: (NSRect)theRect;

editWithFrame:inView:editor:delegate:

- (void) editWithFrame: (NSRect)aRect inView: (NSView*)controlView editor: (NSText *)textObj delegate: (id)anObject;

endEditing:

- (void) endEditing: (NSText*)textObj;

entryType

- (int) entryType;

floatValue

- (float) floatValue;

font

- (NSFont*) font;

formatter

- (id) formatter;

getPeriodicDelay:interval:

- (void) getPeriodicDelay: (float*)delay interval: (float*)interval;

hasValidObjectValue

- (BOOL) hasValidObjectValue;

highlight:withFrame:

- (void) highlight: (BOOL)flag withFrame: (NSRect)cellFrame;

image

- (NSImage*) image;

imageRectForBounds:

- (NSRect) imageRectForBounds: (NSRect)theRect;

importsGraphics

- (BOOL) importsGraphics;

initImageCell:

- (id) initImageCell: (NSImage*)anImage;

initTextCell:

- (id) initTextCell: (NSString*)aString;

intValue

- (int) intValue;

isBezeled

- (BOOL) isBezeled;

isBordered

- (BOOL) isBordered;

isContinuous

- (BOOL) isContinuous;

isEditable

- (BOOL) isEditable;

isEnabled

- (BOOL) isEnabled;

isEntryAcceptable:

- (BOOL) isEntryAcceptable: (NSString*)aString;

isHighlighted

- (BOOL) isHighlighted;

isOpaque

- (BOOL) isOpaque;

isScrollable

- (BOOL) isScrollable;

isSelectable

- (BOOL) isSelectable;

keyEquivalent

- (NSString*) keyEquivalent;

menu

- (NSMenu*) menu;

menuForEvent:inRect:ofView:

- (NSMenu*) menuForEvent: (NSEvent*)anEvent inRect: (NSRect)cellFrame ofView: (NSView*)aView;

mnemonic

- (NSString*) mnemonic;

mnemonicLocation

- (unsigned int) mnemonicLocation;

mouseDownFlags

- (int) mouseDownFlags;

nextState

- (int) nextState;

objectValue

- (id) objectValue;

performClick:

- (void) performClick: (id)sender;

refusesFirstResponder

- (BOOL) refusesFirstResponder;

representedObject

- (id) representedObject;

resetCursorRect:

- (void) resetCursorRect: (NSRect)cellFrame;

sendActionOn:

- (int) sendActionOn: (int)mask;

sendsActionOnEndEditing

- (BOOL) sendsActionOnEndEditing;

setAction:

- (void) setAction: (SEL)aSelector;

setAlignment:

- (void) setAlignment: (NSTextAlignment)mode;

setAllowsEditingTextAttributes:

- (void) setAllowsEditingTextAttributes: (BOOL)flag;

setAllowsMixedState:

- (void) setAllowsMixedState: (BOOL)flag;

setAttributedStringValue:

- (void) setAttributedStringValue: (NSAttributedString*)attribStr;

setBezeled:

- (void) setBezeled: (BOOL)flag;

setBordered:

- (void) setBordered: (BOOL)flag;

setCellAttribute:

- (void) setCellAttribute: (NSCellAttribute)aParameter;

setContinuous:

- (void) setContinuous: (BOOL)flag;

setDoubleValue:

- (void) setDoubleValue: (double)aDouble;

setEditable:

- (void) setEditable: (BOOL)flag;

setEnabled:

- (void) setEnabled: (BOOL)flag;

setEntryType:

- (void) setEntryType: (int)aType;

setFloatingPointFormat:left:right:

- (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits;

setFloatValue:

- (void) setFloatValue: (float)aFloat;

setFont:

- (void) setFont: (NSFont*)fontObj;

setFormatter:

- (void) setFormatter: (NSFormatter*)newFormatter;

setImage:

- (void) setImage: (NSImage*)image;

setImportsGraphics:

- (void) setImportsGraphics: (BOOL)flag;

setIntValue:

- (void) setIntValue: (int)anInt;

setMenu:

- (void) setMenu: (NSMenu*)aMenu;

setMnemonicLocation:

- (void) setMnemonicLocation: (unsigned int)location;

setNextState

- (void) setNextState;

setObjectValue:

- (void) setObjectValue: (id)object;

setRefusesFirstResponder:

- (void) setRefusesFirstResponder: (BOOL)flag;

setRepresentedObject:

- (void) setRepresentedObject: (id)anObject;

setScrollable:

- (void) setScrollable: (BOOL)flag;

setSelectable:

- (void) setSelectable: (BOOL)flag;

setSendsActionOnEndEditing:

- (void) setSendsActionOnEndEditing: (BOOL)flag;

setShowsFirstResponder:

- (void) setShowsFirstResponder: (BOOL)flag;

setState:

- (void) setState: (int)value;

setStringValue:

- (void) setStringValue: (NSString*)aString;

setTag:

- (void) setTag: (int)anInt;

setTarget:

- (void) setTarget: (id)anObject;

setTitleWithMnemonic:

- (void) setTitleWithMnemonic: (NSString*)aString;

setType:

- (void) setType: (NSCellType)aType;

setUpFieldEditorAttributes:

- (NSText*) setUpFieldEditorAttributes: (NSText*)textObj;

setWraps:

- (void) setWraps: (BOOL)flag;

showsFirstResponder

- (BOOL) showsFirstResponder;

startTrackingAt:

- (BOOL) startTrackingAt: (NSPoint)startPoint;

state

- (int) state;

stopTracking:at:inView:

- (void) stopTracking: (NSPoint)lastPoint at: (NSPoint)stopPoint inView: (NSView*)controlView;

stringValue

- (NSString*) stringValue;

tag

- (int) tag;

takeDoubleValueFrom:

- (void) takeDoubleValueFrom: (id)sender;

takeFloatValueFrom:

- (void) takeFloatValueFrom: (id)sender;

takeIntValueFrom:

- (void) takeIntValueFrom: (id)sender;

takeObjectValueFrom:

- (void) takeObjectValueFrom: (id)sender;

takeStringValueFrom:

- (void) takeStringValueFrom: (id)sender;

target

- (id) target;

titleRectForBounds:

- (NSRect) titleRectForBounds: (NSRect)theRect;

trackMouse:inRect:ofView:untilMouseUp:

- (BOOL) trackMouse: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView untilMouseUp: (BOOL)untilMouseUp;

type

- (NSCellType) type;

wraps

- (BOOL) wraps;