Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: awt :: grid ::
interface XGridRowSelection
Description
This interfaces provides access to the selection of row for UnoControlGrid .
Since
OOo 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 indicies of all selected rows.
Returns
a sequence of indicies.
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 © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.