net.sf.doolin.gui.field.list
Class FieldCombo<V,E>

java.lang.Object
  extended by net.sf.doolin.bus.bean.Bean
      extended by net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
          extended by net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor<V>
              extended by net.sf.doolin.gui.field.list.AbstractListPropertyFieldDescriptor<V,E>
                  extended by net.sf.doolin.gui.field.list.FieldCombo<V,E>
Type Parameters:
V - Type of object for the view
E - Type of object in the item list
All Implemented Interfaces:
Serializable, IBean, FieldDescriptor<V>

public class FieldCombo<V,E>
extends AbstractListPropertyFieldDescriptor<V,E>

JComboBox field descriptor.

Author:
Damien Coraboeuf
See Also:
Serialized Form

Constructor Summary
FieldCombo()
           
 
Method Summary
 Field<V> createField(GUIView<V> view)
          Creates a field.
 CompletionSupport<E> getCompletionSupport()
          Gets the completion support for this combo box.
 void setCompletionSupport(CompletionSupport<E> completionSupport)
          Sets the completion support for this combo box.
 
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.AbstractPropertyFieldDescriptor
getAdapter, getProperty, getPropertyPath, setAdapter, setProperty, setPropertyPath, subscribe, subscribe
 
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 net.sf.doolin.bus.bean.Bean
getBeanNotificationSupport, getParentBean, notify, setParentBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldCombo

public FieldCombo()
Method Detail

createField

public Field<V> createField(GUIView<V> view)
Creates a field.

Parameters:
view - Owning view
Returns:
Created field

getCompletionSupport

public CompletionSupport<E> getCompletionSupport()
Gets the completion support for this combo box.

Returns:
Completion support or null is no completion must be done on the combo box.

setCompletionSupport

public void setCompletionSupport(CompletionSupport<E> completionSupport)
Sets the completion support for this combo box.

Parameters:
completionSupport - Completion support or null is no completion must be done on the combo box.


Copyright © 2011. All Rights Reserved.