Class AbstractEditComponent<C extends JComponent,T>

java.lang.Object
is.codion.swing.framework.ui.component.AbstractEditComponent<C,T>
Type Parameters:
C - the component type
T - the attribute type
All Implemented Interfaces:
EditComponent<C,T>

public abstract class AbstractEditComponent<C extends JComponent,T> extends Object implements EditComponent<C,T>
A base class for EditComponent implementations, providing the default component for an attribute. Extend it to adjust the components: override comboBox(ForeignKey, SwingEntityEditor) or searchField(ForeignKey, SwingEntityEditor) to configure those for a foreign key. EditComponent.editComponent(Attribute) provides one with the default components.