UILabel
ラベルのクラスです。 継承 UIView : UIResponder : NSObject 準拠 NSCoding NSCoding (UIView) NSObject (NSObject) フレームワーク /System/Library/Frameworks/UIKit.framework 使用可能 iPhoneOS2.0 定義 UILabel.h 概要 編集不可なテキストで、フォント…
プロパティ ラベルのテキストは有効かどうか 解説 @property(nonatomic, getter=isEnabled) BOOL enabled NOにするとグレーアウトします。 デフォルトはYES フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
テキストを描画する領域を計算します。 -(CGRect)textRectForBounds:(CGRect)bounds limitedToNumberOfLines:(NSInteger)numberOfLines 解説 返り値 ( CGRect ) 引数 ( CGRect )bounds ( NSInteger )numberOfLines フレームワーク UIKit クラス UILabel Inst…
指定の領域を描画します。 -(void)drawTextInRect:(CGRect)rect 解説 rectで指定した領域を描画します。 返り値 ( void ) 引数 ( CGRect )rect 描画する領域 フレームワーク UIKit クラス UILabel Instance Methods 使用可能 iPhone2.0 参照 例文
イベントを受け付けるかどうか @property(nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled 解説 ラベルはデフォルトではイベントを受け付けないようになっているので、YESをセットしてイベントを受け付けるようにしてやらなければ…
プロパティ テキストの色 解説 @property(nonatomic, retain) UIColor *textColor フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
文字揃え 解説 @property(nonatomic) UITextAlignment textAlignment 返り値 引数 フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
プロパティ 表示される文字列 解説 @property(nonatomic, copy) NSString *text フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
テキストの影の位置のオフセット 解説 @property(nonatomic) CGSize shadowOffset フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
テキストの影の色 解説 @property(nonatomic, retain) UIColor *shadowColor テキストの影の色、nilなら影はなし フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
プロパティ 表示される最大の行数 解説 @property(nonatomic) NSInteger numberOfLines デフォルトの値は1 0をセットすると制限なし フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
最小のフォントサイズ 解説 @property(nonatomic) CGFloat minimumFontSize デフォルトの値は0.0です。 フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
プロパティ 改行の動作設定 解説 @property(nonatomic) UILineBreakMode lineBreakMode UILineBreakMode フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
ハイライト時のテキストの色 解説 @property(nonatomic, retain) UIColor *highlightedTextColor フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
ハイライトしているかどうか 解説 @property(nonatomic, getter=isHighlighted) BOOL highlighted フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
プロパティ 表示される文字のフォント 解説 @property(nonatomic, retain) UIFont *font フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
解説 @property(nonatomic, getter=isEnabled) BOOL enabled 返り値 ( BOOL ) 引数 フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
プロパティ ベースラインでの揃え 解説 @property(nonatomic) UIBaselineAdjustment baselineAdjustment UIBaselineAdjustment フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文
プロパティ テキストがUILabelのサイズに合うように調整するかどうか 解説 @property(nonatomic) BOOL adjustsFontSizeToFitWidth デフォルトの値はNO フレームワーク UIKit クラス UILabel Property 使用可能 iPhone2.0 参照 例文