Methods' Details |
getMinSelectionIndex
long |
getMinSelectionIndex(); |
- Description
- Returns the lowest index of the selection.
- Returns
- the lowest index.
|
|
getMaxSelectionIndex
long |
getMaxSelectionIndex(); |
- Description
- Returns the highest index of the selection.
- Returns
- the highest index.
|
|
selectAllRows
[oneway] void |
selectAllRows(); |
- Description
- Selects all rows.
|
|
selectRows
[oneway] void |
selectRows( |
[in] sequence< long > |
rangeOfRows ); |
- Description
- Selects multiple rows. Previous selections will be removed.
- Parameter rangeOfRows
- array of rows indexes, which will be selected.
|
|
deselectAllRows
[oneway] void |
deselectAllRows(); |
- Description
- Deselects all selected rows.
|
|
deselectRows
[oneway] void |
deselectRows( |
[in] sequence< long > |
rangeOfRows ); |
- Description
- Deselects selected rows. Selected rows, which aren't in the range remain selected.
- Parameter rangeOfRows
- array of rows indexes, which will be deselected.
|
|
getSelection
sequence< long > |
getSelection(); |
- Description
- Returns the indicies of all selected rows.
- Returns
- a sequence of indicies.
|
|
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.
|
|
selectRow
[oneway] void |
selectRow( |
[in] long |
index ); |
- Description
- Marks a row as selected.
- Parameter index
- the index of a row.
|
|
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 © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.