@FunctionalInterface
public static interface Projection.ComponentSupplier<TC extends javax.swing.JComponent,CC extends ContentModel,PC extends PresentationModel>
Projection.setComponentSupplier(ComponentSupplier)
to return your own supplier of Projection.ComponentSupplier to be used before the
Projection.configureComponent(JComponent) call.| Modifier and Type | Method | Description |
|---|---|---|
java.util.function.Function<Projection<TC,CC,PC>,TC> |
getComponentSupplier(Projection<TC,CC,PC> projection) |
java.util.function.Function<Projection<TC,CC,PC>,TC> getComponentSupplier(Projection<TC,CC,PC> projection)
projection - Information on the projection in case this
creator has logic that depends on specific field(s) of
the content model and / or the presentation model.JComponent subclass that represents the Swing component to be
used to configure the projected component in Projection.configureComponent(JComponent)
call.