protected class ListMergeModel.EntriesSelectionModel extends DefaultListSelectionModel
JTable which displays
an entry list managed by ListMergeModel.
The model ensures that only rows displaying an entry in the entry list
can be selected. "Empty" rows can't be selected.| Modifier and Type | Field and Description |
|---|---|
private List<T> |
entries |
leadAnchorNotificationEnabled, listenerListMULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION| Constructor and Description |
|---|
EntriesSelectionModel(ArrayList<T> nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionInterval(int index0,
int index1) |
void |
insertIndexInterval(int index,
int length,
boolean before) |
void |
moveLeadSelectionIndex(int leadIndex) |
void |
removeIndexInterval(int index0,
int index1) |
void |
removeSelectionInterval(int index0,
int index1) |
void |
setAnchorSelectionIndex(int anchorIndex) |
void |
setLeadSelectionIndex(int leadIndex) |
void |
setSelectionInterval(int index0,
int index1) |
addListSelectionListener, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, removeListSelectionListener, setLeadAnchorNotificationEnabled, setSelectionMode, setValueIsAdjusting, toStringprivate final List<T extends PrimitiveId> entries
public EntriesSelectionModel(ArrayList<T> nodes)
public void addSelectionInterval(int index0, int index1)
addSelectionInterval in interface ListSelectionModeladdSelectionInterval in class DefaultListSelectionModelpublic void insertIndexInterval(int index, int length, boolean before)
insertIndexInterval in interface ListSelectionModelinsertIndexInterval in class DefaultListSelectionModelpublic void moveLeadSelectionIndex(int leadIndex)
moveLeadSelectionIndex in class DefaultListSelectionModelpublic void removeIndexInterval(int index0, int index1)
removeIndexInterval in interface ListSelectionModelremoveIndexInterval in class DefaultListSelectionModelpublic void removeSelectionInterval(int index0, int index1)
removeSelectionInterval in interface ListSelectionModelremoveSelectionInterval in class DefaultListSelectionModelpublic void setAnchorSelectionIndex(int anchorIndex)
setAnchorSelectionIndex in interface ListSelectionModelsetAnchorSelectionIndex in class DefaultListSelectionModelpublic void setLeadSelectionIndex(int leadIndex)
setLeadSelectionIndex in interface ListSelectionModelsetLeadSelectionIndex in class DefaultListSelectionModelpublic void setSelectionInterval(int index0, int index1)
setSelectionInterval in interface ListSelectionModelsetSelectionInterval in class DefaultListSelectionModel