This interfaces provides access to the selection of row for UnoControlGrid.
More...
import"XGridRowSelection.idl";
This interfaces provides access to the selection of row for UnoControlGrid.
- Since
- LibreOffice 3.4
◆ addSelectionListener()
Adds a listener for the GridSelectionEvent posted after the grid changes.
- Parameters
-
listener | the listener to add. |
◆ deselectAllRows()
Deselects all selected rows.
◆ deselectRow()
removes the selection for a given row
- Parameters
-
RowIndex | denotes the index of the row to deselect |
◆ getSelectedRows()
sequence< long > getSelectedRows |
( |
| ) |
|
Returns the indices of all selected rows.
- Returns
- a sequence of indices.
◆ hasSelectedRows()
boolean hasSelectedRows |
( |
| ) |
|
Returns whether rows are selected.
- Returns
TRUE
if and only if at least one row is selected.
◆ isRowSelected()
boolean isRowSelected |
( |
[in] long |
RowIndex | ) |
|
Returns whether a specific row is selected.
- Parameters
-
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. |
- Returns
TRUE
if and only if there is a row with the given index, and it is selected currently.
◆ removeSelectionListener()
◆ selectAllRows()
◆ selectRow()
selects a given row
- Parameters
-
RowIndex | denotes the index of the row to select |
- Exceptions
-
The documentation for this interface was generated from the following file: