public class ViewHugeSelectionModel
extends java.lang.Object
implements javax.swing.ListSelectionModel
ViewHugeTableModel| Constructor and Description |
|---|
ViewHugeSelectionModel(javax.swing.ListSelectionModel hugeModel,
ViewHugeTableModel tmodel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListSelectionListener(javax.swing.event.ListSelectionListener viewLnr) |
void |
addSelectionInterval(int index0,
int index1) |
void |
clearSelection() |
int |
getAnchorSelectionIndex() |
int |
getLeadSelectionIndex() |
int |
getMaxSelectionIndex() |
int |
getMinSelectionIndex() |
int |
getSelectionMode() |
boolean |
getValueIsAdjusting() |
void |
insertIndexInterval(int index,
int length,
boolean before) |
boolean |
isSelectedIndex(int index) |
boolean |
isSelectionEmpty() |
void |
removeIndexInterval(int index0,
int index1) |
void |
removeListSelectionListener(javax.swing.event.ListSelectionListener viewLnr) |
void |
removeSelectionInterval(int index0,
int index1) |
void |
setAnchorSelectionIndex(int index) |
void |
setLeadSelectionIndex(int index) |
void |
setSelectionInterval(int index0,
int index1) |
void |
setSelectionMode(int selectionMode) |
void |
setValueIsAdjusting(boolean valueIsAdjusting) |
public ViewHugeSelectionModel(javax.swing.ListSelectionModel hugeModel,
ViewHugeTableModel tmodel)
hugeModel - list selection model corresonding to the
table model underlying the supplied
tmodeltmodel - ViewHugeTableModel presenting an underlying
huge table to a JTablepublic void setSelectionInterval(int index0,
int index1)
setSelectionInterval in interface javax.swing.ListSelectionModelpublic void addSelectionInterval(int index0,
int index1)
addSelectionInterval in interface javax.swing.ListSelectionModelpublic void removeSelectionInterval(int index0,
int index1)
removeSelectionInterval in interface javax.swing.ListSelectionModelpublic int getMinSelectionIndex()
getMinSelectionIndex in interface javax.swing.ListSelectionModelpublic int getMaxSelectionIndex()
getMaxSelectionIndex in interface javax.swing.ListSelectionModelpublic boolean isSelectedIndex(int index)
isSelectedIndex in interface javax.swing.ListSelectionModelpublic int getAnchorSelectionIndex()
getAnchorSelectionIndex in interface javax.swing.ListSelectionModelpublic void setAnchorSelectionIndex(int index)
setAnchorSelectionIndex in interface javax.swing.ListSelectionModelpublic int getLeadSelectionIndex()
getLeadSelectionIndex in interface javax.swing.ListSelectionModelpublic void setLeadSelectionIndex(int index)
setLeadSelectionIndex in interface javax.swing.ListSelectionModelpublic void clearSelection()
clearSelection in interface javax.swing.ListSelectionModelpublic boolean isSelectionEmpty()
isSelectionEmpty in interface javax.swing.ListSelectionModelpublic void insertIndexInterval(int index,
int length,
boolean before)
insertIndexInterval in interface javax.swing.ListSelectionModelpublic void removeIndexInterval(int index0,
int index1)
removeIndexInterval in interface javax.swing.ListSelectionModelpublic void setValueIsAdjusting(boolean valueIsAdjusting)
setValueIsAdjusting in interface javax.swing.ListSelectionModelpublic boolean getValueIsAdjusting()
getValueIsAdjusting in interface javax.swing.ListSelectionModelpublic void setSelectionMode(int selectionMode)
setSelectionMode in interface javax.swing.ListSelectionModelpublic int getSelectionMode()
getSelectionMode in interface javax.swing.ListSelectionModelpublic void addListSelectionListener(javax.swing.event.ListSelectionListener viewLnr)
addListSelectionListener in interface javax.swing.ListSelectionModelpublic void removeListSelectionListener(javax.swing.event.ListSelectionListener viewLnr)
removeListSelectionListener in interface javax.swing.ListSelectionModel