Module is.codion.swing.framework.ui
Interface EntityComponentFactory<T,A extends Attribute<T>,C extends JComponent>
- Type Parameters:
T
- the value typeA
- the attribute typeC
- 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 TypeMethodDescriptioncomponentValue
(A attribute, SwingEntityEditModel editModel, T initialValue) Provides value input components for multiple entity update, override to supply specificComponentValue
implementations for attributes.
-
Method Details
-
componentValue
Provides value input components for multiple entity update, override to supply specificComponentValue
implementations for attributes.- Parameters:
attribute
- the attribute for which to get the ComponentValueeditModel
- the edit model used to create foreign key input modelsinitialValue
- the initial value to display- Returns:
- a new ComponentValue instance handling input for
attribute
-