:: com :: sun :: star :: awt :: grid ::
|
unpublished |
interface XGridSelection |
|
|
|
- Usage Restrictions
- not published
- Description
- This interfaces provides access to the selection of row for UnoControlGrid.
|
Methods' Details |
selectAllRows
- Description
- Selects all rows.
|
|
selectRow
void |
selectRow( |
[in] long |
RowIndex ); |
- Description
- selects a given row
- Parameter RowIndex
- denotes the index of the row to select
|
|
deselectAllRows
- Description
- Deselects all selected rows.
|
|
deselectRow
void |
deselectRow( |
[in] long |
RowIndex ); |
- Description
- removes the selection for a given row
- Parameter RowIndex
- denotes the index of the row to deselect
|
|
getSelection
sequence< long > |
getSelection(); |
- Description
- Returns the indices of all selected rows.
- Returns
- a sequence of indices.
|
|
isSelectionEmpty
boolean |
isSelectionEmpty(); |
- Description
- Returns whether rows are selected.
- Returns
- true if rows are selected otherwise false.
|
|
isSelectedIndex
boolean |
isSelectedIndex( |
[in] long |
index ); |
- Description
- Returns whether a specific row is selected.
- Parameter the
- index of a row.
- Returns
- true if row are selected otherwise false.
|
|
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, 2012 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.