protected class ListMergeModel.EntriesSelectionModel extends javax.swing.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 java.util.List<T> |
entries |
| Constructor and Description |
|---|
EntriesSelectionModel(java.util.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 java.util.List<T extends PrimitiveId> entries
public EntriesSelectionModel(java.util.ArrayList<T> nodes)
public void addSelectionInterval(int index0, int index1)
addSelectionInterval in interface javax.swing.ListSelectionModeladdSelectionInterval in class javax.swing.DefaultListSelectionModelpublic void insertIndexInterval(int index, int length, boolean before)
insertIndexInterval in interface javax.swing.ListSelectionModelinsertIndexInterval in class javax.swing.DefaultListSelectionModelpublic void moveLeadSelectionIndex(int leadIndex)
moveLeadSelectionIndex in class javax.swing.DefaultListSelectionModelpublic void removeIndexInterval(int index0, int index1)
removeIndexInterval in interface javax.swing.ListSelectionModelremoveIndexInterval in class javax.swing.DefaultListSelectionModelpublic void removeSelectionInterval(int index0, int index1)
removeSelectionInterval in interface javax.swing.ListSelectionModelremoveSelectionInterval in class javax.swing.DefaultListSelectionModelpublic void setAnchorSelectionIndex(int anchorIndex)
setAnchorSelectionIndex in interface javax.swing.ListSelectionModelsetAnchorSelectionIndex in class javax.swing.DefaultListSelectionModelpublic void setLeadSelectionIndex(int leadIndex)
setLeadSelectionIndex in interface javax.swing.ListSelectionModelsetLeadSelectionIndex in class javax.swing.DefaultListSelectionModelpublic void setSelectionInterval(int index0, int index1)
setSelectionInterval in interface javax.swing.ListSelectionModelsetSelectionInterval in class javax.swing.DefaultListSelectionModel