de.orangecafe.amazonrcp.helper
Class SelectedItemListHolder

java.lang.Object
  extended by org.springframework.richclient.table.ListSelectionListenerSupport
      extended by de.orangecafe.amazonrcp.helper.SelectedItemListHolder
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, javax.swing.event.ListSelectionListener

public class SelectedItemListHolder
extends org.springframework.richclient.table.ListSelectionListenerSupport
implements java.beans.PropertyChangeListener

Author:
Torsten Strasser

Constructor Summary
SelectedItemListHolder()
           
 
Method Summary
 java.util.List<Item> getSelectedItems()
           
protected  void onMultiSelection(int[] indexes)
           
protected  void onNoSelection()
           
protected  void onSingleSelection(int index)
           
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 
Methods inherited from class org.springframework.richclient.table.ListSelectionListenerSupport
getItemsSelected, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedItemListHolder

public SelectedItemListHolder()
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

onMultiSelection

protected void onMultiSelection(int[] indexes)
Overrides:
onMultiSelection in class org.springframework.richclient.table.ListSelectionListenerSupport

onSingleSelection

protected void onSingleSelection(int index)
Overrides:
onSingleSelection in class org.springframework.richclient.table.ListSelectionListenerSupport

onNoSelection

protected void onNoSelection()
Overrides:
onNoSelection in class org.springframework.richclient.table.ListSelectionListenerSupport

getSelectedItems

public java.util.List<Item> getSelectedItems()


Copyright © 2007 orange-cafe.de. All Rights Reserved.