public class FastListSelectionModel extends Object implements ListSelectionModel
| Modifier and Type | Field and Description |
|---|---|
protected EventListenerList |
listenerList |
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION| Constructor and Description |
|---|
FastListSelectionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListSelectionListener(ListSelectionListener l) |
void |
addSelectionInterval(int index0,
int index1) |
void |
clearSelection() |
protected void |
fireValueChanged(int firstIndex,
int lastIndex) |
protected void |
fireValueChanged(int firstIndex,
int lastIndex,
boolean isAdjusting) |
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(ListSelectionListener l) |
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) |
protected EventListenerList listenerList
public void addListSelectionListener(ListSelectionListener l)
addListSelectionListener in interface ListSelectionModelpublic void removeListSelectionListener(ListSelectionListener l)
removeListSelectionListener in interface ListSelectionModelpublic void addSelectionInterval(int index0,
int index1)
addSelectionInterval in interface ListSelectionModelprotected void fireValueChanged(int firstIndex,
int lastIndex)
protected void fireValueChanged(int firstIndex,
int lastIndex,
boolean isAdjusting)
public void clearSelection()
clearSelection in interface ListSelectionModelpublic int getMinSelectionIndex()
getMinSelectionIndex in interface ListSelectionModelpublic int getAnchorSelectionIndex()
getAnchorSelectionIndex in interface ListSelectionModelpublic int getLeadSelectionIndex()
getLeadSelectionIndex in interface ListSelectionModelpublic int getMaxSelectionIndex()
getMaxSelectionIndex in interface ListSelectionModelpublic int getSelectionMode()
getSelectionMode in interface ListSelectionModelpublic boolean getValueIsAdjusting()
getValueIsAdjusting in interface ListSelectionModelpublic void insertIndexInterval(int index,
int length,
boolean before)
insertIndexInterval in interface ListSelectionModelpublic boolean isSelectedIndex(int index)
isSelectedIndex in interface ListSelectionModelpublic boolean isSelectionEmpty()
isSelectionEmpty in interface ListSelectionModelpublic void removeIndexInterval(int index0,
int index1)
removeIndexInterval in interface ListSelectionModelpublic void removeSelectionInterval(int index0,
int index1)
removeSelectionInterval in interface ListSelectionModelpublic void setAnchorSelectionIndex(int index)
setAnchorSelectionIndex in interface ListSelectionModelpublic void setLeadSelectionIndex(int index)
setLeadSelectionIndex in interface ListSelectionModelpublic void setSelectionInterval(int index0,
int index1)
setSelectionInterval in interface ListSelectionModelpublic void setSelectionMode(int selectionMode)
setSelectionMode in interface ListSelectionModelpublic void setValueIsAdjusting(boolean valueIsAdjusting)
setValueIsAdjusting in interface ListSelectionModelCopyright © 2015 Java Data Mining Package. All rights reserved.