net.sf.doolin.gui.field.list.multi
Class FieldMultiCombo<V,E>
java.lang.Object
net.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor<V>
net.sf.doolin.gui.field.list.AbstractListPropertyFieldDescriptor<V,E>
net.sf.doolin.gui.field.list.multi.FieldMultiCombo<V,E>
- Type Parameters:
V - Type of object for the viewE - Type of object in the item list
- All Implemented Interfaces:
- Serializable, IBean, FieldDescriptor<V>
public class FieldMultiCombo<V,E>
- extends AbstractListPropertyFieldDescriptor<V,E>
Field descriptor for the selection of several items in a list.
- Author:
- Damien Coraboeuf
- See Also:
- Serialized Form
| Methods inherited from class net.sf.doolin.gui.field.list.AbstractListPropertyFieldDescriptor |
createListWithNull, getActualCellRenderer, getInitialListValueModel, getItemListFactory, getLabelInfoProvider, getListModel, getRenderer, isItemListAddNull, setItemListAddNull, setItemListFactory, setLabelInfoProvider, setRenderer |
| Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor |
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onInit, onShow, setActionFactory, setConstraint, setDisplayState, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldMultiCombo
public FieldMultiCombo()
createField
public Field<V> createField(GUIView<V> view)
- Description copied from interface:
FieldDescriptor
- Creates a field.
- Parameters:
view - Owning view
- Returns:
- Created field
getColumns
public int getColumns()
- Returns:
- the columns
getCreationDelegate
public ActionDelegate<String> getCreationDelegate()
getDeleteDelegate
public ActionDelegate<Collection<E>> getDeleteDelegate()
- Returns:
- the deleteDelegate
getText
protected String getText(ca.odell.glazedlists.EventList<E> selectionList)
- Gets a text summary for the selected list of items
- Parameters:
selectionList - Selected list of items
- Returns:
- Text summary
getTimeOut
public int getTimeOut()
- Returns:
- the timeOut
getUpdateDelegate
public ActionDelegate<EditableValue<E>> getUpdateDelegate()
- Returns:
- the updateDelegate
getVisibleRows
public int getVisibleRows()
- Returns:
- the visibleRows
isCanClose
public boolean isCanClose()
- Returns:
- the canClose
isEditable
public boolean isEditable()
setCanClose
public void setCanClose(boolean canClose)
- Parameters:
canClose - the canClose to set
setColumns
public void setColumns(int columns)
- Parameters:
columns - the columns to set
setCreationDelegate
public void setCreationDelegate(ActionDelegate<String> creationDelegate)
setDeleteDelegate
public void setDeleteDelegate(ActionDelegate<Collection<E>> deleteDelegate)
- Parameters:
deleteDelegate - the deleteDelegate to set
setTimeOut
public void setTimeOut(int timeOut)
- Parameters:
timeOut - the timeOut to set
setUpdateDelegate
public void setUpdateDelegate(ActionDelegate<EditableValue<E>> updateDelegate)
- Parameters:
updateDelegate - the updateDelegate to set
setVisibleRows
public void setVisibleRows(int visibleRows)
- Parameters:
visibleRows - the visibleRows to set
Copyright © 2011. All Rights Reserved.