Interface Projection.ComponentCustomizer<TC extends javax.swing.JComponent>
-
- Enclosing class:
- Projection<T extends javax.swing.JComponent,C extends ContentModel,P extends PresentationModel>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Projection.ComponentCustomizer<TC extends javax.swing.JComponent>This interface can be used as part ofProjection.setComponentCustomizer(ComponentCustomizer)to customize the result ofProjection.buildComponent()with additional functionality not exposed viaBlackboxProjection.getContentModel()orBlackboxProjection.getPresentationModel().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomizeComponent(TC component)Customizes the result ofProjection.buildComponent()just before it is returned to the application code.
-
-
-
Method Detail
-
customizeComponent
void customizeComponent(TC component)
Customizes the result ofProjection.buildComponent()just before it is returned to the application code.- Parameters:
component- Projected component (fromProjection.setComponentSupplier(ComponentSupplier)if configured, or the default supplier otherwise.
-
-