Interface TemporalComponent.Builder
- All Superinterfaces:
Buildable.Builder<TemporalComponent,,TemporalComponent.Builder> BuildableComponent.Builder<TemporalComponent,TemporalComponent.Builder>
- Enclosing interface:
- TemporalComponent
public static interface TemporalComponent.Builder
extends BuildableComponent.Builder<TemporalComponent,TemporalComponent.Builder>
A builder for temporal components.
-
Method Summary
Modifier and TypeMethodDescriptionsetTemporal(Temporal temporal) Sets the temporal value of the component.setTemporalStyle(TemporalStyle temporalStyle) Sets the temporal textStyle to use.Methods inherited from interface com.xpdustry.distributor.api.util.Buildable.Builder
build, modifyMethods inherited from interface com.xpdustry.distributor.api.component.BuildableComponent.Builder
setTextStyle
-
Method Details
-
setTemporal
Sets the temporal value of the component.- Parameters:
temporal- the temporal value- Returns:
- this builder
-
setTemporalStyle
Sets the temporal textStyle to use.- Parameters:
temporalStyle- the temporal textStyle- Returns:
- this builder
-