Interface BuildableComponent.Builder<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>>
- Type Parameters:
C- the type of the componentB- the type of the builder
- All Superinterfaces:
Buildable.Builder<C,B>
- All Known Subinterfaces:
ListComponent.Builder,NumberComponent.Builder,TemporalComponent.Builder,TextComponent.Builder,TranslatableComponent.Builder
- Enclosing interface:
- BuildableComponent<C extends BuildableComponent<C,
B>, B extends BuildableComponent.Builder<C, B>>
public static interface BuildableComponent.Builder<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>>
extends Buildable.Builder<C,B>
A builder for a buildable component.
-
Method Summary
Modifier and TypeMethodDescriptionsetTextStyle(TextStyle textStyle) Sets the text textStyle of the component.Methods inherited from interface com.xpdustry.distributor.api.util.Buildable.Builder
build, modify
-
Method Details
-
setTextStyle
Sets the text textStyle of the component.- Parameters:
textStyle- the text textStyle- Returns:
- this builder
-