Skip navigation links
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, 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:
setSelectionInterval
in interface javax.swing.ListSelectionModel
- Overrides:
setSelectionInterval
in class javax.swing.DefaultListSelectionModel
addSelectionInterval
public void addSelectionInterval(int index0,
int index1)
-
- Specified by:
addSelectionInterval
in interface javax.swing.ListSelectionModel
- Overrides:
addSelectionInterval
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
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int anchorIndex)
-
- Specified by:
setAnchorSelectionIndex
in interface javax.swing.ListSelectionModel
- Overrides:
setAnchorSelectionIndex
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
clearSelection
public void clearSelection()
-
- Specified by:
clearSelection
in interface javax.swing.ListSelectionModel
- Overrides:
clearSelection
in class javax.swing.DefaultListSelectionModel
getSelectionMode
public int getSelectionMode()
-
- Specified by:
getSelectionMode
in interface javax.swing.ListSelectionModel
- Overrides:
getSelectionMode
in class javax.swing.DefaultListSelectionModel
moveLeadSelectionIndex
public void moveLeadSelectionIndex(int leadIndex)
-
- Overrides:
moveLeadSelectionIndex
in class javax.swing.DefaultListSelectionModel
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.