:: com :: sun :: star :: awt :: grid ::
|
interface XGridRowSelection |
|
- Description
- This interfaces provides access to the selection of row for UnoControlGrid.
- Since
- LibreOffice 3.4
|
Methods' Details |
selectAllRows
- Description
- Selects all rows.
|
|
selectRow
- Description
- selects a given row
- Parameter RowIndex
- denotes the index of the row to select
@raises ::com::sun::star::lang::IndexOutOfBoundsException
if
RowIndex does not denote a valid row index
|
|
deselectAllRows
- Description
- Deselects all selected rows.
|
|
deselectRow
- Description
- removes the selection for a given row
- Parameter RowIndex
- denotes the index of the row to deselect
|
|
getSelectedRows
sequence< long > |
getSelectedRows(); |
- Description
- Returns the indices of all selected rows.
- Returns
- a sequence of indices.
|
|
hasSelectedRows
boolean |
hasSelectedRows(); |
- Description
- Returns whether rows are selected.
- Returns
- true if and only if at least one row is selected.
|
|
isRowSelected
boolean |
isRowSelected( |
[in] long |
RowIndex ); |
- Description
- Returns whether a specific row is selected.
- Parameter 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.
|
|
addSelectionListener
- Description
- Adds a listener for the GridSelectionEvent posted after the grid changes.
- Parameter listener
- the listener to add.
|
|
removeSelectionListener
- Description
- Removes a listener previously added with addSelectionListener().
- Parameter listener
- the listener to remove.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.