Class DefaultListSelectEditor<V>

java.lang.Object
io.guise.framework.model.AbstractListSelectEditor<V>
io.guise.framework.model.DefaultListSelectEditor<V>
Type Parameters:
V - The type of values contained in the model.
All Implemented Interfaces:
ListSelectEditor<V>

public class DefaultListSelectEditor<V> extends AbstractListSelectEditor<V>
The default implementation for editing values in a list model. Prototypes are provided for common edit functionality. This class registers itself with the given list, which will cause memory leaks if an instance of this class is discarded without also discarding the list. The editing component class and the list select model's value class must each have a public default constructor.
Author:
Garret Wilson
  • Constructor Details

    • DefaultListSelectEditor

      public DefaultListSelectEditor(ListSelectModel<V> listSelectModel, Class<? extends ValuedComponent<V>> valuedComponentClass)
      List select model and valued component constructor.
      Parameters:
      listSelectModel - The list select model this prototype manipulates.
      valuedComponentClass - The class for the component allowing a list value to be edited.
      Throws:
      NullPointerException - if the given list select model and/or value component class is null.
  • Method Details