public abstract class AbstractBoundedTableModelWithSelection extends AbstractBoundedTableModel implements javax.swing.ListSelectionModel
BoundedTableModel with
implemented ListSelectionModel functionality. A convenience
class.MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTIONPROPERTY_LOWER_BOUND, PROPERTY_UPPER_BOUND| Constructor and Description |
|---|
AbstractBoundedTableModelWithSelection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListSelectionListener(javax.swing.event.ListSelectionListener l) |
void |
addSelectionInterval(int index0,
int index1) |
void |
clearSelection() |
int |
getAnchorSelectionIndex() |
int |
getLeadSelectionIndex() |
java.util.EventListener[] |
getListeners(java.lang.Class listenerType) |
javax.swing.event.ListSelectionListener[] |
getListSelectionListeners() |
int |
getMaxSelectionIndex() |
int |
getMinSelectionIndex() |
int |
getSelectionMode() |
boolean |
getValueIsAdjusting() |
void |
insertIndexInterval(int index,
int length,
boolean before) |
boolean |
isLeadAnchorNotificationEnabled() |
boolean |
isSelectedIndex(int index) |
boolean |
isSelectionEmpty() |
void |
removeIndexInterval(int index0,
int index1) |
void |
removeListSelectionListener(javax.swing.event.ListSelectionListener l) |
void |
removeSelectionInterval(int index0,
int index1) |
void |
setAnchorSelectionIndex(int anchorIndex) |
void |
setLeadAnchorNotificationEnabled(boolean flag) |
void |
setLeadSelectionIndex(int leadIndex) |
void |
setSelectionInterval(int index0,
int index1) |
void |
setSelectionMode(int selectionMode) |
void |
setValueIsAdjusting(boolean isAdjusting) |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListeneraddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLowerBound, getUpperBoundpublic AbstractBoundedTableModelWithSelection()
public void addListSelectionListener(javax.swing.event.ListSelectionListener l)
addListSelectionListener in interface javax.swing.ListSelectionModelpublic void addSelectionInterval(int index0,
int index1)
addSelectionInterval in interface javax.swing.ListSelectionModelpublic void clearSelection()
clearSelection in interface javax.swing.ListSelectionModelpublic int getAnchorSelectionIndex()
getAnchorSelectionIndex in interface javax.swing.ListSelectionModelpublic int getLeadSelectionIndex()
getLeadSelectionIndex in interface javax.swing.ListSelectionModelpublic java.util.EventListener[] getListeners(java.lang.Class listenerType)
getListeners in class javax.swing.table.AbstractTableModelpublic javax.swing.event.ListSelectionListener[] getListSelectionListeners()
public int getMaxSelectionIndex()
getMaxSelectionIndex in interface javax.swing.ListSelectionModelpublic int getMinSelectionIndex()
getMinSelectionIndex in interface javax.swing.ListSelectionModelpublic int getSelectionMode()
getSelectionMode in interface javax.swing.ListSelectionModelpublic boolean getValueIsAdjusting()
getValueIsAdjusting in interface javax.swing.ListSelectionModelpublic void insertIndexInterval(int index,
int length,
boolean before)
insertIndexInterval in interface javax.swing.ListSelectionModelpublic boolean isLeadAnchorNotificationEnabled()
public boolean isSelectedIndex(int index)
isSelectedIndex in interface javax.swing.ListSelectionModelpublic boolean isSelectionEmpty()
isSelectionEmpty in interface javax.swing.ListSelectionModelpublic void removeIndexInterval(int index0,
int index1)
removeIndexInterval in interface javax.swing.ListSelectionModelpublic void removeListSelectionListener(javax.swing.event.ListSelectionListener l)
removeListSelectionListener in interface javax.swing.ListSelectionModelpublic void removeSelectionInterval(int index0,
int index1)
removeSelectionInterval in interface javax.swing.ListSelectionModelpublic void setAnchorSelectionIndex(int anchorIndex)
setAnchorSelectionIndex in interface javax.swing.ListSelectionModelpublic void setLeadAnchorNotificationEnabled(boolean flag)
public void setLeadSelectionIndex(int leadIndex)
setLeadSelectionIndex in interface javax.swing.ListSelectionModelpublic void setSelectionInterval(int index0,
int index1)
setSelectionInterval in interface javax.swing.ListSelectionModelpublic void setSelectionMode(int selectionMode)
setSelectionMode in interface javax.swing.ListSelectionModelpublic void setValueIsAdjusting(boolean isAdjusting)
setValueIsAdjusting in interface javax.swing.ListSelectionModel