com.jurismarches.vradi.ui.offer.widgets
Class MultipleSelectionHandler<B>

java.lang.Object
  extended by com.jurismarches.vradi.ui.offer.widgets.MultipleSelectionHandler<B>
Direct Known Subclasses:
AttachmentFileHandler, EmbeddedFileHandler, RelatedFormHandler, ReplaceFormHandler

public abstract class MultipleSelectionHandler<B>
extends Object

Author:
sletellier

Field Summary
protected  List<B> addedDatas
           
protected  MultipleSelectionPane ui
           
 
Constructor Summary
MultipleSelectionHandler(MultipleSelectionPane ui)
           
 
Method Summary
abstract  void add()
           
protected  void addToList(B addedData, String data)
           
protected  void fillList(Collection<String> datas)
           
 List<B> getAddedDatas()
           
protected  Form getBean()
           
 OfferEditHandler getHandler()
           
protected  JList getList()
           
protected  DefaultListModel getListModel()
           
protected  List<String> getSelectedInList()
           
abstract  void init()
           
abstract  void openSelected(String selected)
           
abstract  void remove()
           
protected  void removeFromList(List<String> datas)
           
protected  void removeFromList(String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ui

protected MultipleSelectionPane ui

addedDatas

protected List<B> addedDatas
Constructor Detail

MultipleSelectionHandler

public MultipleSelectionHandler(MultipleSelectionPane ui)
Method Detail

getHandler

public OfferEditHandler getHandler()

getList

protected JList getList()

getListModel

protected DefaultListModel getListModel()

getBean

protected Form getBean()

getAddedDatas

public List<B> getAddedDatas()

init

public abstract void init()

add

public abstract void add()

remove

public abstract void remove()

openSelected

public abstract void openSelected(String selected)

addToList

protected void addToList(B addedData,
                         String data)

removeFromList

protected void removeFromList(List<String> datas)

removeFromList

protected void removeFromList(String data)

fillList

protected void fillList(Collection<String> datas)

getSelectedInList

protected List<String> getSelectedInList()


Copyright © 2009-2010 JurisMarches. All Rights Reserved.