Public Member Functions | |
(void) | - encodeWithCoder: [implementation] |
(BOOL) | - hasShadow [implementation] |
(void) | - hideOrDisplayContents [implementation] |
(CPImage) | - image [implementation] |
(void) | - imageDidLoad: [implementation] |
(CGRect) | - imageRect [implementation] |
(unsigned) | - imageScaling [implementation] |
(id) | - initWithCoder: [implementation] |
(id) | - initWithFrame: [implementation] |
(BOOL) | - isEditable [implementation] |
(void) | - layoutSubviews [implementation] |
(void) | - mouseDown: [implementation] |
(void) | - performDragOperation: [implementation] |
(void) | - setEditable: [implementation] |
(void) | - setHasShadow: [implementation] |
(void) | - setImage: [implementation] |
(void) | - setImageScaling: [implementation] |
(void) | - setObjectValue: [implementation] |
This class is a control that displays an image.
Definition at line 53 of file CPImageView.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Writes the image view out to the coder.
aCoder | the coder to which the image view will be written |
Definition at line 430 of file CPImageView.j.
- (BOOL) hasShadow | [implementation] |
Returns YES
if the image view draws with a drop shadow. The default is NO
.
Definition at line 159 of file CPImageView.j.
- (void) hideOrDisplayContents | [implementation] |
Toggles the display of the image view.
Definition at line 222 of file CPImageView.j.
- (CPImage) image | [implementation] |
Returns the view's image.
Definition at line 95 of file CPImageView.j.
- (void) imageDidLoad: | (CPNotification) | aNotification | [implementation] |
Definition at line 147 of file CPImageView.j.
- (CGRect) imageRect | [implementation] |
Returns the view's image rectangle
Definition at line 243 of file CPImageView.j.
- (unsigned) imageScaling | [implementation] |
Definition at line 214 of file CPImageView.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Initializes the image view with the provided coder.
aCoder | the coder from which data will be read. |
Definition at line 390 of file CPImageView.j.
- (id) initWithFrame: | (CGRect) | aFrame | [implementation] |
Definition at line 65 of file CPImageView.j.
- (BOOL) isEditable | [implementation] |
Definition at line 363 of file CPImageView.j.
- (void) layoutSubviews | [implementation] |
Add a description
Definition at line 251 of file CPImageView.j.
- (void) mouseDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 335 of file CPImageView.j.
- (void) performDragOperation: | (CPDraggingInfo) | aSender | [implementation] |
Definition at line 368 of file CPImageView.j.
- (void) setEditable: | (BOOL) | shouldBeEditable | [implementation] |
Definition at line 341 of file CPImageView.j.
- (void) setHasShadow: | (BOOL) | shouldHaveShadow | [implementation] |
Sets whether the image view should draw with a drop shadow.
shouldHaveShadow | whether the image view should have a shadow |
Definition at line 168 of file CPImageView.j.
- (void) setImage: | (CPImage) | anImage | [implementation] |
Definition at line 100 of file CPImageView.j.
- (void) setImageScaling: | (CPImageScaling) | anImageScaling | [implementation] |
Sets the type of image scaling that should be used to render the image.
anImageScaling | the type of scaling to use |
Definition at line 199 of file CPImageView.j.
- (void) setObjectValue: | (CPImage) | anImage | [implementation] |
Definition at line 106 of file CPImageView.j.