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.
|
|
Copyright © 2012, 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.