public class Browse.SelectionSet extends java.util.LinkedHashSet<Browse.SelectedRow>
| Constructor and Description |
|---|
SelectionSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Browse.SelectedRow row)
Add a new row to the list of selected items and update the last selected row.
|
boolean |
add(Browse.SelectedRow row,
boolean update)
Add a new row to the list of selected items, optionally update the last selected row.
|
void |
delete(int deletedRowIndex)
Remove given row(s) from the set of selected rows.
|
clear, clone, contains, isEmpty, iterator, remove, sizeaddAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic boolean add(Browse.SelectedRow row)
add in interface java.util.Collection<Browse.SelectedRow>add in interface java.util.Set<Browse.SelectedRow>add in class java.util.HashSet<Browse.SelectedRow>row - The row to add into selection.true if the row was added to the selection.public boolean add(Browse.SelectedRow row, boolean update)
row - The row to add into selection.update - Flag to set the last selected row.true if the row was added to the selection.public void delete(int deletedRowIndex)
deletedRowIndex - 0-based index of the deleted row in the browse model. -1 if all selected rows
are deleted.