Instance Method

getRow:column:forPoint:

Gets the row and column coordinates for the specified point, if a cell exists at that point.

Declaration

- (BOOL)getRow:(NSInteger *)row column:(NSInteger *)column forPoint:(NSPoint)point;

Parameters

row

On output, the row number of the cell at the specified point, or -1 if there is no cell at the point.

column

On output, he column number of the cell at the specified point, or -1 if there is no cell at the point.

point

The point to test.

Return Value

YES if a cell exists at the specified point; otherwise, NO.

Discussion

If a row does not exist at point, then -1 is set for the row. If a column does not exist at point, then -1 is set for the column.

See Also

Getting Row Frames

- frameOfRow:inColumn:

Returns the frame of the cell at the specified location, including the expandable arrow.