UIButtonクラス
ボタンのクラスです。
継承 | UIControl : UIView : UIResponder : NSObject |
準拠 | NSCoding |
NSCoding | |
NSCoding (UIView) | |
NSObject (NSObject) | |
フレームワーク | /System/Library/Frameworks/UIKit.framework |
使用可能 | iOS 2.0 |
定義 | UIButton.h |
概要
参照
メソッドとプロパティ
ボタンの作成
ボタンタイトルの設定
buttonType property
font property
lineBreakMode property
titleShadowOffset property
titleLabel property
reversesTitleShadowWhenHighlighted property
– setTitle:forState
– setTitleColor:forState
– setTitleShadowColor:forState
– titleColorForState
– titleForState
– titleShadowColorForState
ボタン画像の設定
adjustsImageWhenHighlighted property
adjustsImageWhenDisabled property
showsTouchWhenHighlighted property
– backgroundImageForState
– imageForState
– setBackgroundImage:forState
– setImage:forState
端の内側の処理
contentEdgeInsets property
titleEdgeInsets property
imageEdgeInsets property
現在の状態を得る
currentTitle property
currentTitleColor property
currentTitleShadowColor property
currentImage property
currentBackgroundImage property
imageView property