Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface BackgroundFactoryAccessor.BackgroundFactoryProperty<BF extends BackgroundFactory<?,?>>
- Type Parameters:
BF
- the generic type
- All Superinterfaces:
BackgroundFactoryAccessor<BF>
,BackgroundFactoryAccessor.BackgroundFactoryMutator<BF>
- All Known Subinterfaces:
GraphicalCheckerboardViewer<P,S,IMG,SF,BF,CBV>
- All Known Implementing Classes:
AbstractGraphicalCheckerboardViewer
- Enclosing interface:
- BackgroundFactoryAccessor<BF extends BackgroundFactory<?,?>>
public static interface BackgroundFactoryAccessor.BackgroundFactoryProperty<BF extends BackgroundFactory<?,?>> extends BackgroundFactoryAccessor<BF>, BackgroundFactoryAccessor.BackgroundFactoryMutator<BF>
Provides a background factory property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.checkerboard.BackgroundFactoryAccessor
BackgroundFactoryAccessor.BackgroundFactoryBuilder<BF extends BackgroundFactory<?,?>,B extends BackgroundFactoryAccessor.BackgroundFactoryBuilder<BF,B>>, BackgroundFactoryAccessor.BackgroundFactoryMutator<BF extends BackgroundFactory<?,?>>, BackgroundFactoryAccessor.BackgroundFactoryProperty<BF extends BackgroundFactory<?,?>>
-
Method Summary
Modifier and Type Method Description default BF
letBitsPerSample(BF aBackgroundFactory)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenBackgroundFactory
(setter) as ofBackgroundFactoryAccessor.BackgroundFactoryMutator.setBackgroundFactory(BackgroundFactory)
and returns the very same value (getter).Methods inherited from interface org.refcodes.checkerboard.BackgroundFactoryAccessor
getBackgroundFactory
Methods inherited from interface org.refcodes.checkerboard.BackgroundFactoryAccessor.BackgroundFactoryMutator
setBackgroundFactory
-
Method Details
-
letBitsPerSample
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenBackgroundFactory
(setter) as ofBackgroundFactoryAccessor.BackgroundFactoryMutator.setBackgroundFactory(BackgroundFactory)
and returns the very same value (getter).- Parameters:
aBackgroundFactory
- TheBackgroundFactory
to set (viaBackgroundFactoryAccessor.BackgroundFactoryMutator.setBackgroundFactory(BackgroundFactory)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-