DekGenius.com
[ Team LiB ] Previous Section Next Section

NSImageCell Mac OS X 10.0

This cell class is responsible for drawing an image in a frame. NSImageCell provides methods that allow clients to specify the frame style, as well as how images that do not fit in the cell bounds should be scaled.

figs/cocn_1541.gif

@interface NSImageCell : NSCell <NSCoding, NSCopying>
 // Accessor Methods
   - (void)setImageAlignment:(NSImageAlignment)newAlign;
   - (NSImageAlignment)imageAlignment;
   - (void)setImageScaling:(NSImageScaling)newScaling;
   - (NSImageScaling)imageScaling;
   - (void)setImageFrameStyle:(NSImageFrameStyle)newStyle;
   - (NSImageFrameStyle)imageFrameStyle;
 // Methods Implementing NSCoding
   - (void)encodeWithCoder:(NSCoder *)aCoder;
   - (id)initWithCoder:(NSCoder *)aDecoder;
 // Methods Implementing NSCopying
   - (id)copyWithZone:(NSZone *)zone;

    [ Team LiB ] Previous Section Next Section