CPObjectCPResponder
CPView
_CPImageAndTitleView
@implementation _CPImageAndTitleView : CPView
Method Summary | |
---|---|
-(id) | initWithFrame:(CGRect)aFrame Initializes the receiver for usage with the specified bounding rectangle. |
-(CPTextAlignment) | alignment |
-(CPFont) | font |
-(CPImage) | image |
-(CPCellImagePosition) | imagePosition |
-(void) | imageScaling |
-(void) | resizeSubviewsWithOldSize:(CGSize)aSize Initiates superviewSizeChanged: messages to subviews. |
-(void) | setAlignment:(CPTextAlignment)anAlignment |
-(void) | setFont:(CPFont)aFont |
-(void) | setImage:(CPImage)anImage |
-(void) | setImagePosition:(CPCellImagePosition)anImagePosition |
-(void) | setImageScaling:(CPImageScaling)anImageScaling |
-(void) | setTextAlignment:(CPTextAlignment)aTextAlignment |
-(void) | setTextColor:(CPColor)aTextColor |
-(void) | setTitle:(CPString)aTitle |
-(void) | sizeToFit |
-(CPTextAlignment) | textAlignment |
-(CPColor) | textColor |
-(void) | tile |
-(CPString) | title |
-(void) | updateTitleSize |
Method Detail |
---|
-(id)initWithFrame:(CGRect)aFrame
aFrame
-(CPTextAlignment)alignment
-(CPFont)font
-(CPImage)image
-(CPCellImagePosition)imagePosition
-(void)imageScaling
-(void)resizeSubviewsWithOldSize:(CGSize)aSize
superviewSizeChanged:
messages to subviews.aSize
- the size for the subviews-(void)setAlignment:(CPTextAlignment)anAlignment
anAlignment
-(void)setFont:(CPFont)aFont
aFont
-(void)setImage:(CPImage)anImage
anImage
-(void)setImagePosition:(CPCellImagePosition)anImagePosition
anImagePosition
-(void)setImageScaling:(CPImageScaling)anImageScaling
anImageScaling
-(void)setTextAlignment:(CPTextAlignment)aTextAlignment
aTextAlignment
-(void)setTextColor:(CPColor)aTextColor
aTextColor
-(void)setTitle:(CPString)aTitle
aTitle
-(void)sizeToFit
-(CPTextAlignment)textAlignment
-(CPColor)textColor
-(void)tile
-(CPString)title
-(void)updateTitleSize
Created on Sat Sep 13 14:15:43 PDT 2008