An NSImageCell is a cell that can display a single
image. It is normally associated with an NSImageView
control; but you can use it as a building block in
your own controls.
The image to display is set using the
-setImage:
method which is inherited from the superclass.
The
-setImageAlignment:
and
-setImageScaling:
methods can be used to control how the image is
drawn inside a rectangle which is larger or smaller
than the image size; the image might need to be
scaled, cropped or aligned.
The
-setImageFrameStyle:
method can be used to control if the cell should
display a frame border, and which one.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.