Interface EntityComponentFactory<T,A extends Attribute<T>,C extends JComponent>

Type Parameters:
T - the value type
A - the attribute type
C - the component type
All Known Implementing Classes:
DefaultEntityComponentFactory

public interface EntityComponentFactory<T,A extends Attribute<T>,C extends JComponent>
A factory for ComponentValue implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    componentValue(A attribute, SwingEntityEditModel editModel, T initialValue)
    Provides value input components for multiple entity update, override to supply specific ComponentValue implementations for attributes.
  • Method Details

    • componentValue

      ComponentValue<T,C> componentValue(A attribute, SwingEntityEditModel editModel, T initialValue)
      Provides value input components for multiple entity update, override to supply specific ComponentValue implementations for attributes.
      Parameters:
      attribute - the attribute for which to get the ComponentValue
      editModel - the edit model used to create foreign key input models
      initialValue - the initial value to display
      Returns:
      a new ComponentValue instance handling input for attribute