O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSBrowserCell — Mac OS X 10.0

Synopsis

Instances of this class are responsible for displaying the contents of columns in an NSBrowser, which are NSMatrix views containing a stack of NSBrowserCell objects.

image with no caption

@interface NSBrowserCell : NSCell
                                  // Accessor Methods
   - (void)setLeaf:(BOOL)flag;
   - (void)setAlternateImage:(NSImage *)newAltImage;
   - (NSImage *)alternateImage;
   - (void)setLoaded:(BOOL)flag;
   - (void)setImage:(NSImage *)image;
   - (NSImage *)image;
                                  // Class Methods
   + (NSImage *)branchImage;
   + (NSImage *)highlightedBranchImage;
                                  // Instance Methods
   - (void)set;
   - (NSColor *)highlightColorInView:(NSView *)controlView;
   - (BOOL)isLeaf;
   - (BOOL)isLoaded;
   - (void)reset;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required