| Inherits from | |
| Framework | /System/Library/Frameworks/AppKit.framework |
| Availability | Available in Mac OS X v10.5 and later.
|
| Declared in | NSPathComponentCell.h |
The NSPathComponentCell class displays a component of a path.
An NSPathCell object manages a collection of NSPathComponentCell objects, in conjunction with an NSPathControl object, to represent a path.
Returns the image displayed for this component cell.
- (NSImage *)image;
The component cell image.
NSPathComponentCell.hSets the image displayed for this component cell.
- (void)setImage:(NSImage *)value;
The image to set for this component cell.
Generally, a 16-by-16–point image fits best when the path style is NSPathStyleStandard or NSPathStylePopUp, and a 14-by-14–point image is best when the path style is NSPathStyleNavigationBar.
NSPathComponentCell.hSets the value of the portion of the path from the root through the component represented by the receiver.
- (void)setURL:(NSURL *)url
The new path value to display.
NSPathComponentCell.hReturns the portion of the path from the root through the component represented by the receiver.
- (NSURL *)URL
The path value.
NSPathComponentCell.h
Last updated: 2007-04-11