Inherits from: NSCell : NSObject
Package: com.apple.yellow.application
An NSImageCell displays a single NSImage in a frame. This class provides methods for choosing the frame, and for aligning and scaling the image to fit the frame.
The object value of an NSImageCell must be an NSImage, so if you use NSCell's setObjectValue: method, be sure to supply an NSImage as an argument. Because an NSImage doesn't need to be converted for display, you won't use the NSCell methods relating to formatters.
An NSImageCell is usually associated with some kind of NSControl-an NSImageView, an NSMatrix, or an NSTableView. For more information, see the specifications for those classes.
- Aligning and scaling the image
- imageAlignment
- setImageAlignment
- imageScaling
- setImageScaling
- Choosing the frame
- imageFrameStyle
- setImageFrameStyle
public NSImageCell()
public NSImageCell(java.lang.String aString)
public NSImageCell(NSImage aNSImage)
public int imageAlignment()
public int imageFrameStyle()
public int imageScaling()
public void setImageAlignment(int alignment)
See Also: imageAlignment
public void setImageFrameStyle(int frameStyle)
See Also: imageFrameStyle
public void setImageScaling(int scaling)
See Also: imageScaling