org.jdesktop.binding.swingx.adapter
Class ListSelectionBinding

java.lang.Object
  extended by org.jdesktop.binding.SelectionBinding
      extended by org.jdesktop.binding.swingx.adapter.ListSelectionBinding

public class ListSelectionBinding
extends SelectionBinding

Note (JW): ListSelectionModel indices are in view coordinates, SelectionModel indices are in model coordinates. Need to convert. PENDING: Done here via IndexMapper - but need to think if it's the correct place.

Author:
Richard Bair, Jeanette Winzenburg

Field Summary
 
Fields inherited from class org.jdesktop.binding.SelectionBinding
selectionModel
 
Constructor Summary
ListSelectionBinding(SelectionModel dataSelectionModel, javax.swing.ListSelectionModel viewSelectionModel)
          Creates a new instance of ListSelectionBinding
ListSelectionBinding(SelectionModel dataSelectionModel, javax.swing.ListSelectionModel listSelectionModel, IndexMapper mapper)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSelectionBinding

public ListSelectionBinding(SelectionModel dataSelectionModel,
                            javax.swing.ListSelectionModel viewSelectionModel)
Creates a new instance of ListSelectionBinding


ListSelectionBinding

public ListSelectionBinding(SelectionModel dataSelectionModel,
                            javax.swing.ListSelectionModel listSelectionModel,
                            IndexMapper mapper)


Copyright © 2005 Sun Microsystems All Rights Reserved.