読者です 読者をやめる 読者になる 読者になる

Cocoa API解説(macOS/iOS)

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。

目次

NSBrowserクラス

INDEX>AppKit>

**

継承 NSObject
準拠 NSObject (NSObject)
フレームワーク /System/Library/Frameworks/AppKit.framework
使用可能 OS X 0.0以降
定義
インポート文 @import AppKit;

概要

メソッドとプロパティ

Configuring Browsers

reusesColumns
setReusesColumns:
maxVisibleColumns
setMaxVisibleColumns:
autohidesScroller
setAutohidesScroller:
backgroundColor
setBackgroundColor:
minColumnWidth
setMinColumnWidth:
separatesColumns
setSeparatesColumns:
takesTitleFromPreviousColumn
setTakesTitleFromPreviousColumn:
tile
acceptsArrowKeys
(OS X v10.6)
setAcceptsArrowKeys:
(OS X v10.6)
delegate
setDelegate:
Getting Browser Information
isOpaque

Managing Component Types
cellClass
setCellClass:
cellPrototype
setCellPrototype:
matrixClass
(OS X v10.10)
setMatrixClass:
(OS X v10.10)

Managing Selection Behavior
allowsBranchSelection
setAllowsBranchSelection:
allowsEmptySelection
setAllowsEmptySelection:
allowsMultipleSelection
setAllowsMultipleSelection:
selectedRowIndexesInColumn:
selectRowIndexes:inColumn:
allowsTypeSelect
setAllowsTypeSelect:

Managing Selection
selectedCell
selectedCellInColumn:
selectedCells
selectAll:
selectedRowInColumn:
selectRow:inColumn:
selectionIndexPath
setSelectionIndexPath:
selectionIndexPaths
setSelectionIndexPaths:

Accessing Components
loadedCellAtRow:column:
matrixInColumn:
(OS X v10.10)
editItemAtIndexPath:withEvent:select:
itemAtIndexPath:
itemAtRow:inColumn:
indexPathForColumn:
isLeafItem:
parentForItemsInColumn:

Managing the Path
path
setPath:
pathToColumn:
pathSeparator
setPathSeparator:

Managing Columns
addColumn
displayAllColumns
(OS X v10.3)
displayColumn:
(OS X v10.3)
columnOfMatrix:
(OS X v10.10)
selectedColumn
lastColumn
setLastColumn:
firstVisibleColumn
numberOfVisibleColumns
lastVisibleColumn
validateVisibleColumns
isLoaded
Available in OS X v10.0 through OS X v10.9
loadColumnZero
reloadColumn:

Accessing Column Titles
titleOfColumn:
setTitle:ofColumn:
isTitled
Available in OS X v10.0 through OS X v10.9
setTitled:
drawTitleOfColumn:inRect:
titleHeight
titleFrameOfColumn:

Updating Browsers
noteHeightOfRowsWithIndexesChanged:inColumn:
reloadDataForRowIndexes:inColumn:

Scrolling
updateScroller
(OS X v10.3)
hasHorizontalScroller
setHasHorizontalScroller:
scrollColumnToVisible:
scrollColumnsLeftBy:
scrollColumnsRightBy:
scrollRowToVisible:inColumn:
scrollViaScroller:
(OS X v10.3)

Dragging
draggingSourceOperationMaskForLocal:
setDraggingSourceOperationMask:forLocal:
canDragRowsWithIndexes:inColumn:withEvent:
draggingImageForRowsWithIndexes:inColumn:withEvent:offset:
namesOfPromisedFilesDroppedAtDestination:

Getting Column Frames
frameOfColumn:
frameOfInsideOfColumn:

Getting Row Frames
frameOfRow:inColumn:
getRow:column:forPoint:

Managing Actions
doubleAction
setDoubleAction:
sendsActionOnArrowKeys
setSendsActionOnArrowKeys:
sendAction

Handling Mouse-Click Events
doClick:
doDoubleClick:
clickedColumn
clickedRow

Sizing
removeSavedColumnsWithAutosaveName:
columnsAutosaveName
setColumnsAutosaveName:
columnContentWidthForColumnWidth:
columnWidthForColumnContentWidth:
columnResizingType
setColumnResizingType:
prefersAllColumnUserResizing
setPrefersAllColumnUserResizing:
widthOfColumn:
setWidth:ofColumn:
defaultColumnWidth
setDefaultColumnWidth:
rowHeight
setRowHeight:

Constants
NSBrowserColumnResizingType
NSBrowserDropOperation
Application Kit Versions for NSBrowser Functionality

Notifications
NSBrowserColumnConfigurationDidChangeNotification

定数

参照