- Inherits From:
- NSControl
- Declared In:
- FSMatrix.h
id<FSMatrixDataSource> _dataSource;
int _numRows;
int _numCols;
float *_colWidths;
float *_rowHeights;
BOOL _isHeader;
BOOL _isEditing;
FSCell _editorCell;
BOOL _vRezAllowed;
BOOL _hRezAllowed;
_dataSource where the data comes from _numRows number of rows, cached from DS _numCols number of columns, cached from DS _colWidths column sizes, cached from DS _rowHeights row sizes, cached from DS _isHeader header matrix has different look _isEditing is the field editor active? _editorCell the cell that is being edited _vRezAllowed vertical resizing of cells is allowed _hRezAllowed horizontal resizing of cells is allowed
- - frameForRow:column:
- - widthForColumn:
- - heightForRow:
- - reloadData
- - reloadColumnWidthsInRange:
- - reloadRowHeightsInRange:
- - dataSource
- - setDataSource:
- - isHeaderMatrix
- - setHeaderMatrix:
- - numberOfRows
- - numberOfColumns
- - startEditingCell:withEvent:
- - _editCell:selectAll:
- - _endEditing
- - cellAtPoint:
- - cellAtPoint:origin:
- (BOOL)_editCell:(FSCell)cell selectAll:(BOOL)select
No method description.
- (BOOL)_endEditing
No method description.
- (FSCell)cellAtPoint:(NSPoint)point
Selection logic: has been moved to data source.
- (FSCell)cellAtPoint:(NSPoint)point origin:(NSPoint*)origin
No method description.
- (id<FSMatrixDataSource>)dataSource
No method description.
- (NSRect)frameForRow:(int)row column:(int)col
No method description.
- (float)heightForRow:(int)row
No method description.
- (BOOL)isHeaderMatrix
No method description.
- (int)numberOfColumns
No method description.
- (int)numberOfRows
No method description.
- (void)reloadColumnWidthsInRange:(NSRange)columns
No method description.
- (void)reloadData
No method description.
- (void)reloadRowHeightsInRange:(NSRange)rows
No method description.
- (void)setDataSource:(id<FSMatrixDataSource>)dataSource
No method description.
- (void)setHeaderMatrix:(BOOL)flag
No method description.
- (void)startEditingCell:(FSCell)cell withEvent:(NSEvent*)event
Should be called only when a valid selection exists.
- (float)widthForColumn:(int)col
No method description.