public class MultipleListSelectionEvent
extends javax.swing.event.ListSelectionEvent
Constructor and Description |
---|
MultipleListSelectionEvent(java.lang.Object source,
int listIndex,
boolean isEmptySelection,
int firstIndex,
int lastIndex,
boolean isAdjusting)
creates a new MultipleSelectionEvent
|
Modifier and Type | Method and Description |
---|---|
int |
getListIndex()
return the index of the list which send a ListSelectionEvent
|
boolean |
isEmptySelection()
return if the new selection is empty or not
|
public MultipleListSelectionEvent(java.lang.Object source, int listIndex, boolean isEmptySelection, int firstIndex, int lastIndex, boolean isAdjusting)
source
- the source object of this eventlistIndex
- the index of the list which send a ListSelectionEventisEmptySelection
- says if the new selection is empty or notfirstIndex
- the first index of the interval changedlastIndex
- the last index of the interval changedisAdjusting
-