Lines Matching defs:row

192 	BRow* row = NULL;
193 while ((row = fTable->CurrentSelection(row)) != NULL)
199 // allocate row array
207 row = NULL;
209 while ((row = fTable->CurrentSelection(row)) != NULL)
210 fRows[index++] = fTable->_ModelIndexOfRow(row);
456 BRow* row = fRows.ItemAt(rowIndex);
457 if (row == NULL)
466 AddToSelection(row);
473 if (BRow* row = fRows.ItemAt(rowIndex))
474 Deselect(row);
502 BRow* row = fRows.ItemAt(rowIndex);
503 if (row == NULL)
510 _output = GetFieldRect(row, column);
522 // get the table row
523 BRow* row = RowAt(point);
524 int32 rowIndex = row != NULL ? _ModelIndexOfRow(row) : -1;
561 Table::ColumnMouseDown(AbstractColumn* column, BRow* row, BField* field,
565 // get the table row and column indices
566 int32 rowIndex = _ModelIndexOfRow(row);
582 Table::ColumnMouseUp(AbstractColumn* column, BRow* row, BField* field,
586 // get the table row and column indices
587 int32 rowIndex = _ModelIndexOfRow(row);
610 // create row
611 BRow* row = new(std::nothrow) BRow();
612 if (row == NULL) {
617 // add dummy fields to row
620 // columns, but the row takes ultimate ownership, so it have to be
625 delete row;
629 row->SetField(field, columnIndex);
632 // add row
633 if (!fRows.AddItem(row, i)) {
635 delete row;
639 AddRow(row, i);
657 if (BRow* row = fRows.RemoveItemAt(i)) {
658 RemoveRow(row);
659 delete row;
673 if (BRow* row = fRows.ItemAt(i))
674 UpdateRow(row);
706 for (int32 i = fromIndex; BRow* row = fRows.ItemAt(i); i++) {
708 TableField* field = dynamic_cast<TableField*>(row->GetField(k));
717 Table::_ModelIndexOfRow(BRow* row)
719 if (row == NULL)
722 TableField* field = dynamic_cast<TableField*>(row->GetField(0));