CPImageView Class Reference

List of all members.

Public Member Functions

(id) - initWithFrame: [implementation]
(CPImage- image [implementation]
(void) - setImage: [implementation]
(void) - imageDidLoad: [implementation]
(BOOL) - hasShadow [implementation]
(void) - setHasShadow: [implementation]
(void) - setImageScaling: [implementation]
(CPImageScaling) - imageScaling [implementation]
(void) - setFrameSize: [implementation]
(void) - hideOrDisplayContents [implementation]
(CGRect) - imageRect [implementation]
(void) - tile [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [implementation]


Detailed Description

This class is a control that displays an image.

Definition at line 65 of file CPImageView.j.


Member Function Documentation

- (void) encodeWithCoder: (CPCoder aCoder   [implementation]

Writes the image view out to the coder.

Parameters:
aCoder the coder to which the image view will be written

Definition at line 367 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 152 of file CPImageView.j.

- (void) hideOrDisplayContents   [implementation]

Toggles the display of the image view.

Definition at line 225 of file CPImageView.j.

- (CPImage) image   [implementation]

Returns the view's image.

Definition at line 102 of file CPImageView.j.

- (void) imageDidLoad: (CPNotification aNotification   [implementation]

Definition at line 142 of file CPImageView.j.

- (CGRect) imageRect   [implementation]

Returns the view's image rectangle

Definition at line 242 of file CPImageView.j.

- (CPImageScaling) imageScaling   [implementation]

Returns the image scaling method used to render this image.

Definition at line 210 of file CPImageView.j.

- (id) initWithCoder: (CPCoder aCoder   [implementation]

Initializes the image view with the provided coder.

Parameters:
aCoder the coder from which data will be read.
Returns:
the initialized image view

Definition at line 337 of file CPImageView.j.

- (id) initWithFrame: (CGRect)  aFrame   [implementation]

Definition at line 78 of file CPImageView.j.

- (void) setFrameSize: (CGSize)  aSize   [implementation]

Definition at line 215 of file CPImageView.j.

- (void) setHasShadow: (BOOL)  shouldHaveShadow   [implementation]

Sets whether the image view should draw with a drop shadow.

Parameters:
shouldHaveShadow whether the image view should have a shadow

Definition at line 161 of file CPImageView.j.

- (void) setImage: (CPImage anImage   [implementation]

Sets the image for the view.

Parameters:
anImage the view's image

Definition at line 111 of file CPImageView.j.

- (void) setImageScaling: (CPImageScaling)  anImageScaling   [implementation]

Sets the type of image scaling that should be used to render the image.

Parameters:
anImageScaling the type of scaling to use

Definition at line 191 of file CPImageView.j.

- (void) tile   [implementation]

Add a description

Definition at line 250 of file CPImageView.j.


The documentation for this class was generated from the following file:

Generated on Thu Dec 11 01:55:50 2008 for Cappuccino by  doxygen 1.5.7.1