Skip navigation links 
 
oracle.javatools.ui.table
Class RowHeaderSelectionModel
java.lang.Object
   javax.swing.DefaultListSelectionModel
javax.swing.DefaultListSelectionModel
       oracle.javatools.ui.table.RowHeaderSelectionModel
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, getMaxSelectionIndex, getMinSelectionIndex, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, removeIndexInterval, removeListSelectionListener, setLeadAnchorNotificationEnabled, setSelectionMode, setValueIsAdjusting, toString | 
 
| Methods inherited from class java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
RowHeaderSelectionModel
public RowHeaderSelectionModel()
- Create a RowHeaderSelectionModel. Clients should call setTable before this selection model can work.
RowHeaderSelectionModel
public RowHeaderSelectionModel(javax.swing.JTable table)
- Create a RowHeaderSelectionModel for the specified table.
setTable
public void setTable(javax.swing.JTable table)
- Sets the table this RowSelectionModel is working for. table cannot be null.
setSelectionInterval
public void setSelectionInterval(int index0,
                                 int index1)
- 
- Specified by:
- setSelectionIntervalin interface- javax.swing.ListSelectionModel
- Overrides:
- setSelectionIntervalin class- javax.swing.DefaultListSelectionModel
 
addSelectionInterval
public void addSelectionInterval(int index0,
                                 int index1)
- 
- Specified by:
- addSelectionIntervalin interface- javax.swing.ListSelectionModel
- Overrides:
- addSelectionIntervalin class- javax.swing.DefaultListSelectionModel
 
removeSelectionInterval
public void removeSelectionInterval(int index0,
                                    int index1)
- 
- Specified by:
- removeSelectionIntervalin interface- javax.swing.ListSelectionModel
- Overrides:
- removeSelectionIntervalin class- javax.swing.DefaultListSelectionModel
 
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int anchorIndex)
- 
- Specified by:
- setAnchorSelectionIndexin interface- javax.swing.ListSelectionModel
- Overrides:
- setAnchorSelectionIndexin class- javax.swing.DefaultListSelectionModel
 
setLeadSelectionIndex
public void setLeadSelectionIndex(int leadIndex)
- 
- Specified by:
- setLeadSelectionIndexin interface- javax.swing.ListSelectionModel
- Overrides:
- setLeadSelectionIndexin class- javax.swing.DefaultListSelectionModel
 
clearSelection
public void clearSelection()
- 
- Specified by:
- clearSelectionin interface- javax.swing.ListSelectionModel
- Overrides:
- clearSelectionin class- javax.swing.DefaultListSelectionModel
 
getSelectionMode
public int getSelectionMode()
- 
- Specified by:
- getSelectionModein interface- javax.swing.ListSelectionModel
- Overrides:
- getSelectionModein class- javax.swing.DefaultListSelectionModel
 
moveLeadSelectionIndex
public void moveLeadSelectionIndex(int leadIndex)
- 
- Overrides:
- moveLeadSelectionIndexin class- javax.swing.DefaultListSelectionModel
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.