Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/AppKit.framework |
Availability | Available in Mac OS X v10.5 and later. |
Declared in | NSPathComponentCell.h |
Related sample code |
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.h
Sets 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.h
Sets 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.h
Returns the portion of the path from the root through the component represented by the receiver.
- (NSURL *)URL
The path value.
NSPathComponentCell.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-04-11)