tpp
Class ProjectionTableListSelectionModel

java.lang.Object
  extended by javax.swing.DefaultListSelectionModel
      extended by tpp.ProjectionTableListSelectionModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.ListSelectionModel

public class ProjectionTableListSelectionModel
extends javax.swing.DefaultListSelectionModel

Select rows in the Projection Table based on the selection in the TPP Model

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
 
Constructor Summary
ProjectionTableListSelectionModel(ScatterPlotModel tpp, javax.swing.RowSorter<ProjectionTableModel> sorter)
           
 
Method Summary
 void addSelectionInterval(int index0, int index1)
           
 void clearSelection()
           
 int getMaxSelectionIndex()
           
 int getMinSelectionIndex()
           
 boolean isSelectedIndex(int index)
           
 boolean isSelectionEmpty()
           
 void removeIndexInterval(int index0, int index1)
           
 void setSelectionInterval(int index0, int index1)
           
 
Methods inherited from class javax.swing.DefaultListSelectionModel
addListSelectionListener, clone, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, moveLeadSelectionIndex, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionMode, setValueIsAdjusting, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectionTableListSelectionModel

public ProjectionTableListSelectionModel(ScatterPlotModel tpp,
                                         javax.swing.RowSorter<ProjectionTableModel> sorter)
Method Detail

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

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

getMaxSelectionIndex

public int getMaxSelectionIndex()
Specified by:
getMaxSelectionIndex in interface javax.swing.ListSelectionModel
Overrides:
getMaxSelectionIndex in class javax.swing.DefaultListSelectionModel

getMinSelectionIndex

public int getMinSelectionIndex()
Specified by:
getMinSelectionIndex in interface javax.swing.ListSelectionModel
Overrides:
getMinSelectionIndex 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