com.jurismarches.vradi.ui.widgets
Class MultipleSelectionHandler<D,B extends org.nuiton.wikitty.entities.BusinessEntity,H>
java.lang.Object
com.jurismarches.vradi.ui.widgets.MultipleSelectionHandler<D,B,H>
- Direct Known Subclasses:
- MultipleSelectionFileHandler, RelatedFormHandler, ReplaceFormHandler
public abstract class MultipleSelectionHandler<D,B extends org.nuiton.wikitty.entities.BusinessEntity,H>
- extends Object
- Author:
- sletellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ui
protected MultipleSelectionPane<D,B extends org.nuiton.wikitty.entities.BusinessEntity> ui
addedDatas
protected Map<String,D> addedDatas
handlerClass
protected Class<H> handlerClass
MultipleSelectionHandler
public MultipleSelectionHandler(MultipleSelectionPane<D,B> ui,
Class<H> handlerClass)
getHandler
public H getHandler()
getList
protected JList getList()
getListModel
protected DefaultListModel getListModel()
getBean
protected B getBean()
setBean
protected void setBean(B bean)
getAddedDatas
public Collection<D> getAddedDatas()
getAddedData
public D getAddedData(String id)
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(D 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-2011 JurisMarches. All Rights Reserved.