org.ujmp.gui.util
Class FastListSelectionModel
java.lang.Object
org.ujmp.gui.util.FastListSelectionModel
- All Implemented Interfaces:
- ListSelectionModel
public class FastListSelectionModel
- extends Object
- implements ListSelectionModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerList
protected EventListenerList listenerList
FastListSelectionModel
public FastListSelectionModel()
addListSelectionListener
public void addListSelectionListener(ListSelectionListener l)
- Specified by:
addListSelectionListener
in interface ListSelectionModel
removeListSelectionListener
public void removeListSelectionListener(ListSelectionListener l)
- Specified by:
removeListSelectionListener
in interface ListSelectionModel
addSelectionInterval
public void addSelectionInterval(int index0,
int index1)
- Specified by:
addSelectionInterval
in interface ListSelectionModel
fireValueChanged
protected void fireValueChanged(int firstIndex,
int lastIndex)
fireValueChanged
protected void fireValueChanged(int firstIndex,
int lastIndex,
boolean isAdjusting)
clearSelection
public void clearSelection()
- Specified by:
clearSelection
in interface ListSelectionModel
getMinSelectionIndex
public int getMinSelectionIndex()
- Specified by:
getMinSelectionIndex
in interface ListSelectionModel
getAnchorSelectionIndex
public int getAnchorSelectionIndex()
- Specified by:
getAnchorSelectionIndex
in interface ListSelectionModel
getLeadSelectionIndex
public int getLeadSelectionIndex()
- Specified by:
getLeadSelectionIndex
in interface ListSelectionModel
getMaxSelectionIndex
public int getMaxSelectionIndex()
- Specified by:
getMaxSelectionIndex
in interface ListSelectionModel
getSelectionMode
public int getSelectionMode()
- Specified by:
getSelectionMode
in interface ListSelectionModel
getValueIsAdjusting
public boolean getValueIsAdjusting()
- Specified by:
getValueIsAdjusting
in interface ListSelectionModel
insertIndexInterval
public void insertIndexInterval(int index,
int length,
boolean before)
- Specified by:
insertIndexInterval
in interface ListSelectionModel
isSelectedIndex
public boolean isSelectedIndex(int index)
- Specified by:
isSelectedIndex
in interface ListSelectionModel
isSelectionEmpty
public boolean isSelectionEmpty()
- Specified by:
isSelectionEmpty
in interface ListSelectionModel
removeIndexInterval
public void removeIndexInterval(int index0,
int index1)
- Specified by:
removeIndexInterval
in interface ListSelectionModel
removeSelectionInterval
public void removeSelectionInterval(int index0,
int index1)
- Specified by:
removeSelectionInterval
in interface ListSelectionModel
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int index)
- Specified by:
setAnchorSelectionIndex
in interface ListSelectionModel
setLeadSelectionIndex
public void setLeadSelectionIndex(int index)
- Specified by:
setLeadSelectionIndex
in interface ListSelectionModel
setSelectionInterval
public void setSelectionInterval(int index0,
int index1)
- Specified by:
setSelectionInterval
in interface ListSelectionModel
setSelectionMode
public void setSelectionMode(int selectionMode)
- Specified by:
setSelectionMode
in interface ListSelectionModel
setValueIsAdjusting
public void setValueIsAdjusting(boolean valueIsAdjusting)
- Specified by:
setValueIsAdjusting
in interface ListSelectionModel
Copyright © 2010. All Rights Reserved.