Package guru.mikelue.foxglove.setting
Interface ColumnConfig<T,R>
- Type Parameters:
T- The type of value generated for the matched columnR- The type of returned object after configuration
- All Known Subinterfaces:
ColumnSettingSteps.ColumnSimpleStep<T>
public interface ColumnConfig<T,R>
General interface used to configure value generator
for a matched column.
-
Method Summary
Modifier and TypeMethodDescriptiondecideSupplier(SupplierDecider<? extends T> supplierDecider) Decides aSupplierfor matched column.useSupplier(Supplier<? extends T> valueSupplier) Uses aSupplierfor matched column.
-
Method Details
-
useSpec
- Parameters:
valueSpecSupplier- The supplier ofValueSpec- Returns:
- The containing object itself
-
useSupplier
Uses aSupplierfor matched column.- Parameters:
valueSupplier- The supplier of value- Returns:
- The containing object itself
-
decideSupplier
Decides aSupplierfor matched column.- Parameters:
supplierDecider- The decider ofSupplier- Returns:
- The containing object itself
-