Up

NSCell

Authors

Scott Christley( scottc@net-community.com )
The abstract cell class

Copyright: (C) 1996 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSCell class
  2. Software documentation for the NSCell(PrivateMethods) category

Software documentation for the NSCell class

NSCell : NSObject

Declared in:
AppKit/NSCell.h
Conforms to:
NSCopying
NSCoding
Standards:

Description forthcoming.

Method summary

defaultMenu

+ (NSMenu*) defaultMenu;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


prefersTrackingUntilMouseUp

+ (BOOL) prefersTrackingUntilMouseUp;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


acceptsFirstResponder

- (BOOL) acceptsFirstResponder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


action

- (SEL) action;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


alignment

- (NSTextAlignment) alignment;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


allowsEditingTextAttributes

- (BOOL) allowsEditingTextAttributes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


allowsMixedState

- (BOOL) allowsMixedState;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


attributedStringValue

- (NSAttributedString*) attributedStringValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


calcDrawInfo:

- (void) calcDrawInfo: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


cellAttribute:

- (int) cellAttribute: (NSCellAttribute)aParameter;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


cellSize

- (NSSize) cellSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


cellSizeForBounds:

- (NSSize) cellSizeForBounds: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


compare:

- (NSComparisonResult) compare: (id)otherCell;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


continueTracking:at:inView:

- (BOOL) continueTracking: (NSPoint)lastPoint at: (NSPoint)currentPoint inView: (NSView*)controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


controlView

- (NSView*) controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


doubleValue

- (double) doubleValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawInteriorWithFrame:inView:

- (void) drawInteriorWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawWithFrame:inView:

- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawingRectForBounds:

- (NSRect) drawingRectForBounds: (NSRect)theRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


editWithFrame:inView:editor:delegate:event:

- (void) editWithFrame: (NSRect)aRect inView: (NSView*)controlView editor: (NSText*)textObject delegate: (id)anObject event: (NSEvent*)theEvent;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


encodeWithCoder:

- (void) encodeWithCoder: (NSCoder*)aCoder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endEditing:

- (void) endEditing: (NSText*)textObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


entryType

- (int) entryType;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


floatValue

- (float) floatValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


font

- (NSFont*) font;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


formatter

- (id) formatter;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


getPeriodicDelay:interval:

- (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


hasValidObjectValue

- (BOOL) hasValidObjectValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


highlight:withFrame:inView:

- (void) highlight: (BOOL)lit withFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


image

- (NSImage*) image;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


imageRectForBounds:

- (NSRect) imageRectForBounds: (NSRect)theRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


importsGraphics

- (BOOL) importsGraphics;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


initImageCell:

- (id) initImageCell: (NSImage*)anImage;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


initTextCell:

- (id) initTextCell: (NSString*)aString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


initWithCoder:

- (id) initWithCoder: (NSCoder*)aDecoder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


intValue

- (int) intValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isBezeled

- (BOOL) isBezeled;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isBordered

- (BOOL) isBordered;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isContinuous

- (BOOL) isContinuous;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isEditable

- (BOOL) isEditable;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isEnabled

- (BOOL) isEnabled;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isEntryAcceptable:

- (BOOL) isEntryAcceptable: (NSString*)aString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isHighlighted

- (BOOL) isHighlighted;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isOpaque

- (BOOL) isOpaque;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isScrollable

- (BOOL) isScrollable;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isSelectable

- (BOOL) isSelectable;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


keyEquivalent

- (NSString*) keyEquivalent;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


menu

- (NSMenu*) menu;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


menuForEvent:inRect:ofView:

- (NSMenu*) menuForEvent: (NSEvent*)anEvent inRect: (NSRect)cellFrame ofView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


mnemonic

- (NSString*) mnemonic;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


mnemonicLocation

- (unsigned int) mnemonicLocation;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


mouseDownFlags

- (int) mouseDownFlags;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


nextState

- (int) nextState;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


objectValue

- (id) objectValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


performClick:

- (void) performClick: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


refusesFirstResponder

- (BOOL) refusesFirstResponder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


representedObject

- (id) representedObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


resetCursorRect:inView:

- (void) resetCursorRect: (NSRect)cellFrame inView: (NSView*)controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


selectWithFrame:inView:editor:delegate:start:length:

- (void) selectWithFrame: (NSRect)aRect inView: (NSView*)controlView editor: (NSText*)textObject delegate: (id)anObject start: (int)selStart length: (int)selLength;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


sendActionOn:

- (int) sendActionOn: (int)mask;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


sendsActionOnEndEditing

- (BOOL) sendsActionOnEndEditing;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAction:

- (void) setAction: (SEL)aSelector;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAlignment:

- (void) setAlignment: (NSTextAlignment)mode;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAllowsEditingTextAttributes:

- (void) setAllowsEditingTextAttributes: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAllowsMixedState:

- (void) setAllowsMixedState: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAttributedStringValue:

- (void) setAttributedStringValue: (NSAttributedString*)attribStr;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBezeled:

- (void) setBezeled: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBordered:

- (void) setBordered: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setCellAttribute:to:

- (void) setCellAttribute: (NSCellAttribute)aParameter to: (int)value;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setContinuous:

- (void) setContinuous: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setDoubleValue:

- (void) setDoubleValue: (double)aDouble;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setEditable:

- (void) setEditable: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setEnabled:

- (void) setEnabled: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setEntryType:

- (void) setEntryType: (int)aType;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFloatValue:

- (void) setFloatValue: (float)aFloat;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFloatingPointFormat:left:right:

- (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFont:

- (void) setFont: (NSFont*)fontObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFormatter:

- (void) setFormatter: (NSFormatter*)newFormatter;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setImage:

- (void) setImage: (NSImage*)anImage;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setImportsGraphics:

- (void) setImportsGraphics: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setIntValue:

- (void) setIntValue: (int)anInt;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setMenu:

- (void) setMenu: (NSMenu*)aMenu;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setMnemonicLocation:

- (void) setMnemonicLocation: (unsigned int)location;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setNextState

- (void) setNextState;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setObjectValue:

- (void) setObjectValue: (id)object;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setRefusesFirstResponder:

- (void) setRefusesFirstResponder: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setRepresentedObject:

- (void) setRepresentedObject: (id)anObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setScrollable:

- (void) setScrollable: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSelectable:

- (void) setSelectable: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setSendsActionOnEndEditing:

- (void) setSendsActionOnEndEditing: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setShowsFirstResponder:

- (void) setShowsFirstResponder: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setState:

- (void) setState: (int)value;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setStringValue:

- (void) setStringValue: (NSString*)aString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setTag:

- (void) setTag: (int)anInt;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setTarget:

- (void) setTarget: (id)anObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setTitleWithMnemonic:

- (void) setTitleWithMnemonic: (NSString*)aString;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setType:

- (void) setType: (NSCellType)aType;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setUpFieldEditorAttributes:

- (NSText*) setUpFieldEditorAttributes: (NSText*)textObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setWraps:

- (void) setWraps: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


showsFirstResponder

- (BOOL) showsFirstResponder;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


startTrackingAt:inView:

- (BOOL) startTrackingAt: (NSPoint)startPoint inView: (NSView*)controlView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


state

- (int) state;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


stopTracking:at:inView:mouseIsUp:

- (void) stopTracking: (NSPoint)lastPoint at: (NSPoint)stopPoint inView: (NSView*)controlView mouseIsUp: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


stringValue

- (NSString*) stringValue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


tag

- (int) tag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


takeDoubleValueFrom:

- (void) takeDoubleValueFrom: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


takeFloatValueFrom:

- (void) takeFloatValueFrom: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


takeIntValueFrom:

- (void) takeIntValueFrom: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


takeObjectValueFrom:

- (void) takeObjectValueFrom: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


takeStringValueFrom:

- (void) takeStringValueFrom: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


target

- (id) target;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


titleRectForBounds:

- (NSRect) titleRectForBounds: (NSRect)theRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


trackMouse:inRect:ofView:untilMouseUp:

- (BOOL) trackMouse: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView untilMouseUp: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


type

- (NSCellType) type;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


wraps

- (BOOL) wraps;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


Software documentation for the NSCell(PrivateMethods) category

NSCell(PrivateMethods)

Declared in:
AppKit/NSCell.h
Standards:

Description forthcoming.

Method summary

_drawAttributedText:inFrame:

- (void) _drawAttributedText: (NSAttributedString*)title inFrame: (NSRect)cellFrame;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


_drawText:inFrame:

- (void) _drawText: (NSString*)title inFrame: (NSRect)cellFrame;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


_nonAutoreleasedTypingAttributes

- (NSMutableDictionary*) _nonAutoreleasedTypingAttributes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


_sizeText:

- (NSSize) _sizeText: (NSString*)title;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


textColor

- (NSColor*) textColor;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.



Up