|
LibreOffice
LibreOffice 4.4 SDK API Reference
|
This interfaces provides access to the selection of row for UnoControlGrid. More...
import"XGridRowSelection.idl";
Public Member Functions | |
| void | selectAllRows () |
| Selects all rows. More... | |
| void | selectRow ([in] long RowIndex) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
| selects a given row More... | |
| void | deselectAllRows () |
| Deselects all selected rows. More... | |
| void | deselectRow ([in] long RowIndex) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
| removes the selection for a given row More... | |
| sequence< long > | getSelectedRows () |
| Returns the indices of all selected rows. More... | |
| boolean | hasSelectedRows () |
| Returns whether rows are selected. More... | |
| boolean | isRowSelected ([in] long RowIndex) |
| Returns whether a specific row is selected. More... | |
| void | addSelectionListener ([in] XGridSelectionListener listener) |
| Adds a listener for the GridSelectionEvent posted after the grid changes. More... | |
| void | removeSelectionListener ([in] XGridSelectionListener listener) |
| Removes a listener previously added with addSelectionListener(). More... | |
This interfaces provides access to the selection of row for UnoControlGrid.
| void addSelectionListener | ( | [in] XGridSelectionListener | listener | ) |
Adds a listener for the GridSelectionEvent posted after the grid changes.
| listener | the listener to add. |
| void deselectAllRows | ( | ) |
Deselects all selected rows.
| void deselectRow | ( | [in] long | RowIndex | ) | |
| raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |||
| ) | |||||
removes the selection for a given row
| RowIndex | denotes the index of the row to deselect |
| sequence< long > getSelectedRows | ( | ) |
Returns the indices of all selected rows.
| boolean hasSelectedRows | ( | ) |
Returns whether rows are selected.
TRUE if and only if at least one row is selected. | boolean isRowSelected | ( | [in] long | RowIndex | ) |
Returns whether a specific row is selected.
| RowIndex | the index of a row. If the value does not denote a valid row index, i.e. is smaller than 0 or greater than the number of rows, this is silently ignored, and FALSE is returned. |
TRUE if and only if there is a row with the given index, and it is selected currently. | void removeSelectionListener | ( | [in] XGridSelectionListener | listener | ) |
Removes a listener previously added with addSelectionListener().
| listener | the listener to remove. |
| void selectAllRows | ( | ) |
Selects all rows.
| void selectRow | ( | [in] long | RowIndex | ) | |
| raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |||
| ) | |||||
selects a given row
| RowIndex | denotes the index of the row to select |
| com::sun::star::lang::IndexOutOfBoundsException | if RowIndex does not denote a valid row index |
1.8.10