[Previous] [Up] [Next]

NSMatrix

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSMatrix

NSMatrix

Declared in: Gui/NSMatrix.h

Inherits from: NSControl

Conforms to: NSCoding



acceptsFirstMouse:

- (BOOL) acceptsFirstMouse: (NSEvent*)theEvent

addColumn

- (void) addColumn

addColumnWithCells:

- (void) addColumnWithCells: (NSArray*)newCells

addRow

- (void) addRow

addRowWithCells:

- (void) addRowWithCells: (NSArray*)newCells

allowsEmptySelection

- (BOOL) allowsEmptySelection

autosizesCells

- (BOOL) autosizesCells

backgroundColor

- (NSColor*) backgroundColor

cellAtRow:column:

- (id) cellAtRow: (int)row column: (int)column

cellBackgroundColor

- (NSColor*) cellBackgroundColor

cellClass

- (Class) cellClass

cellFrameAtRow:column:

- (NSRect) cellFrameAtRow: (int)row column: (int)column

cellSize

- (NSSize) cellSize

cellWithTag:

- (id) cellWithTag: (int)anInt

cells

- (NSArray*) cells

delegate

- (id) delegate

deselectAllCells

- (void) deselectAllCells

doubleAction

- (SEL) doubleAction

drawCellAtRow:column:

- (void) drawCellAtRow: (int)row column: (int)column

drawsBackground

- (BOOL) drawsBackground

drawsCellBackground

- (BOOL) drawsCellBackground

errorAction

- (SEL) errorAction

getNumberOfRows:

- (void) getNumberOfRows: (int*)rowCount

getRow:column:

- (BOOL) getRow: (int*)row column: (int*)column

highlightCell:atRow:column:

- (void) highlightCell: (BOOL)flag atRow: (int)row column: (int)column

initWithFrame:

- (id) initWithFrame: (NSRect)frameRect

initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:

- (id) initWithFrame: (NSRect)frameRect mode: (int)aMode cellClass: (Class)factoryId numberOfRows: (int)numRows numberOfColumns: (int)numColumns

initWithFrame:mode:prototype:numberOfRows:numberOfColumns:

- (id) initWithFrame: (NSRect)frameRect mode: (int)aMode prototype: (NSCell*)aCell numberOfRows: (int)numRows numberOfColumns: (int)numColumns

insertColumn:

- (void) insertColumn: (int)column

insertColumn:withCells:

- (void) insertColumn: (int)column withCells: (NSArray*)newCells

insertRow:

- (void) insertRow: (int)row

insertRow:withCells:

- (void) insertRow: (int)row withCells: (NSArray*)newCells

intercellSpacing

- (NSSize) intercellSpacing

isAutoscroll

- (BOOL) isAutoscroll

isSelectionByRect

- (BOOL) isSelectionByRect

keyCell

- (id) keyCell

makeCellAtRow:column:

- (NSCell*) makeCellAtRow: (int)row column: (int)column

mode

- (NSMatrixMode) mode

mouseDown:

- (void) mouseDown: (NSEvent*)theEvent

mouseDownFlags

- (int) mouseDownFlags

nextText

- (id) nextText

numberOfColumns

- (int) numberOfColumns

numberOfRows

- (int) numberOfRows

performKeyEquivalent:

- (BOOL) performKeyEquivalent: (NSEvent*)theEvent

previousText

- (id) previousText

prototype

- (id) prototype

putCell:atRow:column:

- (void) putCell: (NSCell*)newCell atRow: (int)row column: (int)column

removeColumn:

- (void) removeColumn: (int)column

removeRow:

- (void) removeRow: (int)row

renewRows:

- (void) renewRows: (int)newRows

resetCursorRects

- (void) resetCursorRects

scrollCellToVisibleAtRow:column:

- (void) scrollCellToVisibleAtRow: (int)row column: (int)column

selectAll:

- (void) selectAll: (id)sender

selectCellAtRow:column:

- (void) selectCellAtRow: (int)row column: (int)column

selectCellWithTag:

- (BOOL) selectCellWithTag: (int)anInt

selectText:

- (void) selectText: (id)sender

selectTextAtRow:column:

- (id) selectTextAtRow: (int)row column: (int)column

selectedCell

- (id) selectedCell

selectedCells

- (NSArray*) selectedCells

selectedColumn

- (int) selectedColumn

selectedRow

- (int) selectedRow

sendAction

- (BOOL) sendAction

sendAction:to:forAllCells:

- (void) sendAction: (SEL)aSelector to: (id)anObject forAllCells: (BOOL)flag

sendDoubleAction

- (void) sendDoubleAction

setAllowsEmptySelection:

- (void) setAllowsEmptySelection: (BOOL)flag

setAutoscroll:

- (void) setAutoscroll: (BOOL)flag

setAutosizesCells:

- (void) setAutosizesCells: (BOOL)flag

setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)aColor

setCellBackgroundColor:

- (void) setCellBackgroundColor: (NSColor*)aColor

setCellClass:

- (void) setCellClass: (Class)aClass

setCellSize:

- (void) setCellSize: (NSSize)aSize

setDelegate:

- (void) setDelegate: (id)anObject

setDoubleAction:

- (void) setDoubleAction: (SEL)aSelector

setDrawsBackground:

- (void) setDrawsBackground: (BOOL)flag

setDrawsCellBackground:

- (void) setDrawsCellBackground: (BOOL)flag

setErrorAction:

- (void) setErrorAction: (SEL)aSelector

setIntercellSpacing:

- (void) setIntercellSpacing: (NSSize)aSize

setKeyCell:

- (void) setKeyCell: (NSCell*)aCell

setMode:

- (void) setMode: (NSMatrixMode)aMode

setNextText:

- (void) setNextText: (id)anObject

setPreviousText:

- (void) setPreviousText: (id)anObject

setPrototype:

- (void) setPrototype: (NSCell*)aCell

setScrollable:

- (void) setScrollable: (BOOL)flag

setSelectionByRect:

- (void) setSelectionByRect: (BOOL)flag

setSelectionFrom:to:anchor:

- (void) setSelectionFrom: (int)startPos to: (int)endPos anchor: (int)anchorPos

setState:atRow:column:

- (void) setState: (int)value atRow: (int)row column: (int)column

setTabKeyTraversesCells:

- (void) setTabKeyTraversesCells: (BOOL)flag

setValidateSize:

- (void) setValidateSize: (BOOL)flag

sizeToCells

- (void) sizeToCells

sortUsingFunction:context:

- (void) sortUsingFunction: (int(*)(id,id,void*))comparator context: (void*)context

sortUsingSelector:

- (void) sortUsingSelector: (SEL)comparator

tabKeyTraversesCells

- (BOOL) tabKeyTraversesCells

textDidBeginEditing:

- (void) textDidBeginEditing: (NSNotification*)notification

textDidChange:

- (void) textDidChange: (NSNotification*)notification

textDidEndEditing:

- (void) textDidEndEditing: (NSNotification*)notification

textShouldBeginEditing:

- (BOOL) textShouldBeginEditing: (NSText*)textObject

textShouldEndEditing:

- (BOOL) textShouldEndEditing: (NSText*)textObject