oracle.javatools.ui.table
Class RowHeaderSelectionModel
java.lang.Object
javax.swing.DefaultListSelectionModel
oracle.javatools.ui.table.RowHeaderSelectionModel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, javax.swing.ListSelectionModel
public class RowHeaderSelectionModel
- extends javax.swing.DefaultListSelectionModel
A selection model for the RowHeader component to adapt to the table selection
- See Also:
- Serialized Form
Fields inherited from class javax.swing.DefaultListSelectionModel |
leadAnchorNotificationEnabled, listenerList |
Fields inherited from interface javax.swing.ListSelectionModel |
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION |
Methods inherited from class javax.swing.DefaultListSelectionModel |
addListSelectionListener, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getSelectionMode, getValueIsAdjusting, isLeadAnchorNotificationEnabled, removeListSelectionListener, setLeadAnchorNotificationEnabled, setSelectionMode, setValueIsAdjusting, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RowHeaderSelectionModel
public RowHeaderSelectionModel()
setTable
public void setTable(javax.swing.JTable table)
addSelectionInterval
public void addSelectionInterval(int index0,
int index1)
- Specified by:
addSelectionInterval
in interface javax.swing.ListSelectionModel
- Overrides:
addSelectionInterval
in class javax.swing.DefaultListSelectionModel
clearSelection
public void clearSelection()
- Specified by:
clearSelection
in interface javax.swing.ListSelectionModel
- Overrides:
clearSelection
in class javax.swing.DefaultListSelectionModel
moveLeadSelectionIndex
public void moveLeadSelectionIndex(int leadIndex)
- Overrides:
moveLeadSelectionIndex
in class javax.swing.DefaultListSelectionModel
removeSelectionInterval
public void removeSelectionInterval(int index0,
int index1)
- Specified by:
removeSelectionInterval
in interface javax.swing.ListSelectionModel
- Overrides:
removeSelectionInterval
in class javax.swing.DefaultListSelectionModel
removeIndexInterval
public void removeIndexInterval(int index0,
int index1)
- Specified by:
removeIndexInterval
in interface javax.swing.ListSelectionModel
- Overrides:
removeIndexInterval
in class javax.swing.DefaultListSelectionModel
setSelectionInterval
public void setSelectionInterval(int index0,
int index1)
- Specified by:
setSelectionInterval
in interface javax.swing.ListSelectionModel
- Overrides:
setSelectionInterval
in class javax.swing.DefaultListSelectionModel
setLeadSelectionIndex
public void setLeadSelectionIndex(int leadIndex)
- Specified by:
setLeadSelectionIndex
in interface javax.swing.ListSelectionModel
- Overrides:
setLeadSelectionIndex
in class javax.swing.DefaultListSelectionModel
insertIndexInterval
public void insertIndexInterval(int index,
int length,
boolean before)
- Specified by:
insertIndexInterval
in interface javax.swing.ListSelectionModel
- Overrides:
insertIndexInterval
in class javax.swing.DefaultListSelectionModel
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int anchorIndex)
- Specified by:
setAnchorSelectionIndex
in interface javax.swing.ListSelectionModel
- Overrides:
setAnchorSelectionIndex
in class javax.swing.DefaultListSelectionModel
isSelectedIndex
public boolean isSelectedIndex(int index)
- Specified by:
isSelectedIndex
in interface javax.swing.ListSelectionModel
- Overrides:
isSelectedIndex
in class javax.swing.DefaultListSelectionModel
isSelectionEmpty
public boolean isSelectionEmpty()
- Specified by:
isSelectionEmpty
in interface javax.swing.ListSelectionModel
- Overrides:
isSelectionEmpty
in class javax.swing.DefaultListSelectionModel
getMinSelectionIndex
public int getMinSelectionIndex()
- Specified by:
getMinSelectionIndex
in interface javax.swing.ListSelectionModel
- Overrides:
getMinSelectionIndex
in class javax.swing.DefaultListSelectionModel
getMaxSelectionIndex
public int getMaxSelectionIndex()
- Specified by:
getMaxSelectionIndex
in interface javax.swing.ListSelectionModel
- Overrides:
getMaxSelectionIndex
in class javax.swing.DefaultListSelectionModel
Copyright © 1997, 2009, Oracle. All rights reserved.