public interface ListSelectionModel
| Modifier and Type | Method and Description |
|---|---|
void |
addListSelectionListener(ListSelectionListener lsn) |
void |
addSelectionInterval(int index0,
int index1) |
void |
clearSelection() |
List<Integer> |
getAllSelectedIndexes() |
int |
getMaxSelectionIndex() |
int |
getMinSelectionIndex() |
void |
insertIndexRange(int index,
int length)
Inserts new indexes.
|
boolean |
isEmpty() |
boolean |
isSelectedIndex(int index) |
void |
removeIndexRange(int index,
int length)
removes indexes.
|
void |
removeListSelectionListener(ListSelectionListener lsn) |
void |
setSelectionInterval(int index0,
int index1) |
void |
toggleSelectionInterval(int index0,
int index1) |
void addListSelectionListener(ListSelectionListener lsn)
void removeListSelectionListener(ListSelectionListener lsn)
boolean isSelectedIndex(int index)
void clearSelection()
void setSelectionInterval(int index0,
int index1)
void addSelectionInterval(int index0,
int index1)
void toggleSelectionInterval(int index0,
int index1)
void insertIndexRange(int index,
int length)
Please note that this is not firing any event!
index - the position to insert new indexes atlength - the length of indexes to insertvoid removeIndexRange(int index,
int length)
Please note that this is not firing any event!
index - the position to removes new indexes atlength - the length of indexes to insertint getMinSelectionIndex()
int getMaxSelectionIndex()
boolean isEmpty()
Copyright © 2017 SAP SE. All Rights Reserved.