NSComboBoxクラス
**
継承 | NSObject |
NSResponder | |
NSView | |
NSControl | |
NSTextField | |
NSComboBox | |
準拠 | NSObject (NSObject) |
NSAccessibility | |
NSAccessibilityElement | |
NSAccessibilityNavigableStaticText | |
NSAnimatablePropertyContainer | |
NSAppearanceCustomization | |
NSCoding | |
NSDraggingDestination | |
NSObject | |
NSUserInterfaceItemIdentification | |
NSUserInterfaceValidations | |
フレームワーク | /System/Library/Frameworks/AppKit.framework |
使用可能 | OS X 10.0以降 |
定義 | |
インポート文 | @import AppKit; |
概要
メソッドとプロパティ
Setting Display Attributes
hasVerticalScroller
intercellSpacing
buttonBordered
itemHeight
numberOfVisibleItems
Setting a Data Source
dataSource
usesDataSource
Configuring the Combo Box Items
- addItemsWithObjectValues:
- addItemWithObjectValue:
- insertItemWithObjectValue:atIndex:
objectValues
- removeAllItems
- removeItemAtIndex:
- removeItemWithObjectValue:
numberOfItems
Manipulating the Displayed List
- indexOfItemWithObjectValue:
- itemObjectValueAtIndex:
- noteNumberOfItemsChanged
- reloadData
- scrollItemAtIndexToTop:
- scrollItemAtIndexToVisible:
Manipulating the Selection
- deselectItemAtIndex:
indexOfSelectedItem
objectValueOfSelectedItem
- selectItemAtIndex:
- selectItemWithObjectValue:
Completing the Text Field
completes
Notifications
NSComboBoxSelectionDidChangeNotification
NSComboBoxSelectionIsChangingNotification
NSComboBoxWillDismissNotification
NSComboBoxWillPopUpNotification
定数
参照
更新時バージョン
OS X 10.11