Home
last modified time | relevance | path

Searched refs:i_rowIndex (Results 1 – 13 of 13) sorted by relevance

/trunk/main/toolkit/source/controls/grid/
H A Ddefaultgriddatamodel.cxx127 …ta& DefaultGridDataModel::impl_getRowDataAccess_throw( sal_Int32 const i_rowIndex, size_t const i_… in impl_getRowDataAccess_throw() argument
130 if ( ( i_rowIndex < 0 ) || ( size_t( i_rowIndex ) >= m_aData.size() ) ) in impl_getRowDataAccess_throw()
133 RowData& rRowData( m_aData[ i_rowIndex ] ); in impl_getRowDataAccess_throw()
140 …ataModel::impl_getCellDataAccess_throw( sal_Int32 const i_columnIndex, sal_Int32 const i_rowIndex ) in impl_getCellDataAccess_throw() argument
145 RowData& rRowData( impl_getRowDataAccess_throw( i_rowIndex, size_t( i_columnIndex + 1 ) ) ); in impl_getCellDataAccess_throw()
175 …Sequence< Any > SAL_CALL DefaultGridDataModel::getRowData( ::sal_Int32 i_rowIndex ) throw (IndexOu… in getRowData() argument
180 RowData& rRowData = impl_getRowDataAccess_throw( i_rowIndex, m_nColumnCount ); in getRowData()
280 …void SAL_CALL DefaultGridDataModel::removeRow( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsExc… in removeRow() argument
284 if ( ( i_rowIndex < 0 ) || ( size_t( i_rowIndex ) >= m_aData.size() ) ) in removeRow()
287 m_aRowHeaders.erase( m_aRowHeaders.begin() + i_rowIndex ); in removeRow()
[all …]
H A Dsortablegriddatamodel.cxx635 …void SAL_CALL SortableGridDataModel::removeRow( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsEx… in removeRow() argument
640 ::sal_Int32 const rowIndex = impl_getPrivateRowIndex_throw( i_rowIndex ); in removeRow()
659 …eGridDataModel::updateCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_va… in updateCellData() argument
664 ::sal_Int32 const rowIndex = impl_getPrivateRowIndex_throw( i_rowIndex ); in updateCellData()
672 …teRowData( const Sequence< ::sal_Int32 >& i_columnIndexes, ::sal_Int32 i_rowIndex, const Sequence<… in updateRowData() argument
677 ::sal_Int32 const rowIndex = impl_getPrivateRowIndex_throw( i_rowIndex ); in updateRowData()
685 …void SAL_CALL SortableGridDataModel::updateRowHeading( ::sal_Int32 i_rowIndex, const Any& i_headin… in updateRowHeading() argument
690 ::sal_Int32 const rowIndex = impl_getPrivateRowIndex_throw( i_rowIndex ); in updateRowHeading()
698 …idDataModel::updateCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_va… in updateCellToolTip() argument
703 ::sal_Int32 const rowIndex = impl_getPrivateRowIndex_throw( i_rowIndex ); in updateCellToolTip()
[all …]
H A Dgridcontrol.cxx395 void SAL_CALL UnoGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (… in goToCell() argument
398 xGrid->goToCell( i_columnIndex, i_rowIndex ); in goToCell()
402 void SAL_CALL UnoGridControl::selectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOut… in selectRow() argument
404 Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->selectRow( i_rowIndex ); in selectRow()
414 void SAL_CALL UnoGridControl::deselectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexO… in deselectRow() argument
416 Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->deselectRow( i_rowIndex ); in deselectRow()
H A Dgridcontrol.hxx102 …virtual void SAL_CALL goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (::com::…
105 …virtual void SAL_CALL selectRow( ::sal_Int32 i_rowIndex ) throw (::com::sun::star::uno::RuntimeExc…
107 …virtual void SAL_CALL deselectRow( ::sal_Int32 i_rowIndex ) throw (::com::sun::star::uno::RuntimeE…
H A Ddefaultgriddatamodel.hxx110 …nst & impl_getCellData_throw( sal_Int32 const i_columnIndex, sal_Int32 const i_rowIndex ) const;
111 … impl_getCellDataAccess_throw( sal_Int32 const i_columnIndex, sal_Int32 const i_rowIndex );
112 …RowData& impl_getRowDataAccess_throw( sal_Int32 const i_rowIndex, size_t const i_requir…
/trunk/main/svtools/source/uno/
H A Dsvtxgridcontrol.cxx112 …checkRowIndex_throw( ::svt::table::TableControl const & i_table, sal_Int32 const i_rowIndex ) const in impl_checkRowIndex_throw()
114 if ( ( i_rowIndex < 0 ) || ( i_rowIndex >= i_table.GetRowCount() ) ) in impl_checkRowIndex_throw()
167 void SAL_CALL SVTXGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw … in goToCell() argument
175 impl_checkRowIndex_throw( *pTable, i_rowIndex ); in goToCell()
177 pTable->GoTo( i_columnIndex, i_rowIndex ); in goToCell()
687 void SAL_CALL SVTXGridControl::selectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOu… in selectRow() argument
694 impl_checkRowIndex_throw( *pTable, i_rowIndex ); in selectRow()
696 pTable->SelectRow( i_rowIndex, true ); in selectRow()
711 void SAL_CALL SVTXGridControl::deselectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, Index… in deselectRow() argument
718 impl_checkRowIndex_throw( *pTable, i_rowIndex ); in deselectRow()
[all …]
H A Dsvtxgridcontrol.hxx89 …virtual void SAL_CALL goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (::com::…
92 …virtual void SAL_CALL selectRow( ::sal_Int32 i_rowIndex ) throw (::com::sun::star::uno::RuntimeExc…
94 …virtual void SAL_CALL deselectRow( ::sal_Int32 i_rowIndex ) throw (::com::sun::star::uno::RuntimeE…
121 …heckRowIndex_throw( ::svt::table::TableControl const & i_table, sal_Int32 const i_rowIndex ) const;
/trunk/main/svtools/source/table/
H A Dtablecontrol.cxx228 bool TableControl::IsRowSelected( sal_Int32 const i_rowIndex ) const in IsRowSelected()
230 return m_pImpl->isRowSelected( i_rowIndex ); in IsRowSelected()
234 void TableControl::SelectRow( RowPos const i_rowIndex, bool const i_select ) in SelectRow() argument
236 … ENSURE_OR_RETURN_VOID( ( i_rowIndex >= 0 ) && ( i_rowIndex < m_pImpl->getModel()->getRowCount() ), in SelectRow()
241 if ( !m_pImpl->markRowAsSelected( i_rowIndex ) ) in SelectRow()
247 m_pImpl->markRowAsDeselected( i_rowIndex ); in SelectRow()
250 m_pImpl->invalidateRowRange( i_rowIndex, i_rowIndex ); in SelectRow()
H A Dtablecontrol_impl.cxx2548 bool TableControl_Impl::markRowAsDeselected( RowPos const i_rowIndex ) in markRowAsDeselected() argument
2552 …Pos >::iterator selPos = ::std::find( m_aSelectedRows.begin(), m_aSelectedRows.end(), i_rowIndex ); in markRowAsDeselected()
2561 bool TableControl_Impl::markRowAsSelected( RowPos const i_rowIndex ) in markRowAsSelected() argument
2565 if ( isRowSelected( i_rowIndex ) ) in markRowAsSelected()
2575 m_aSelectedRows[0] = i_rowIndex; in markRowAsSelected()
2581 m_aSelectedRows.push_back( i_rowIndex ); in markRowAsSelected()
H A Dtablecontrol_impl.hxx257 bool markRowAsDeselected( RowPos const i_rowIndex );
263 bool markRowAsSelected( RowPos const i_rowIndex );
/trunk/main/toolkit/qa/complex/toolkit/awtgrid/
H A DTMutableGridDataModel.java434 private void impl_assertRowData( final int i_rowIndex ) throws IndexOutOfBoundsException in impl_assertRowData() argument
436 for ( int i=0; i<m_rowValues[i_rowIndex].length; ++i ) in impl_assertRowData()
438 assertEquals( m_rowValues[i_rowIndex][i], m_dataModel.getCellData( i, i_rowIndex ) ); in impl_assertRowData()
/trunk/main/svtools/inc/svtools/
H A Daccessibletable.hxx125 virtual bool IsRowSelected( sal_Int32 const i_rowIndex ) const = 0;
126 virtual void SelectRow( sal_Int32 const i_rowIndex, bool const i_select ) = 0;
/trunk/main/svtools/inc/svtools/table/
H A Dtablecontrol.hxx209 virtual bool IsRowSelected( sal_Int32 const i_rowIndex ) const;
210 virtual void SelectRow( sal_Int32 const i_rowIndex, bool const i_select );