NSButtonCellクラス
ボタンセル
継承 | NSObject |
NSCell | |
NSActionCell | |
NSButtonCell | |
NSMenuItemCell | |
準拠 | NSObject (NSObject) |
NSAccessibility | |
NSAccessibilityElement | |
NSCoding | |
NSCopying | |
NSObject | |
NSUserInterfaceItemIdentificatio | |
フレームワーク | /System/Library/Frameworks/AppKit.framework |
使用可能 | OS X 10.0以降 |
定義 | |
インポート文 | @import AppKit; |
概要
メソッドとプロパティ
Setting Titles
- alternateMnemonic
(OS X v10.8)
- alternateMnemonicLocation
(OS X v10.8)
alternateTitle
attributedAlternateTitle
attributedTitle
- setAlternateMnemonicLocation:
(OS X v10.8)
- setAlternateTitleWithMnemonic:
(OS X v10.8)
- setFont:
Available in OS X v10.0 through OS X v10.9
- setTitleWithMnemonic:
(OS X v10.8)
title
Managing Images
alternateImage
imagePosition
imageScaling
Managing the Repeat Interval
- getPeriodicDelay:interval:
- setPeriodicDelay:interval:
Managing the Key Equivalent
keyEquivalent
keyEquivalentFont
keyEquivalentModifierMask
- setKeyEquivalentFont:size:
Managing Graphics Attributes
backgroundColor
bezelStyle
gradientType
imageDimsWhenDisabled
opaque
transparent
showsBorderOnlyWhileMouseInside
Displaying the Cell
highlightsBy
- setButtonType:
showsStateBy
Managing the Sound
sound
Handling Events and Action Messages
- mouseEntered:
- mouseExited:
- performClick:
Drawing the Button Content
- drawBezelWithFrame:inView:
- drawImage:withFrame:inView:
- drawTitle:withFrame:inView:
Constants
NSBezelStyle
NSButtonType
NSGradientType
定数
参照
更新時バージョン
OS X 10.11