Package net.kyori.adventure.text.format
Interface StyleBuilderApplicable
- 
- All Superinterfaces:
- ComponentBuilderApplicable
 - All Known Subinterfaces:
- TextColor,- TextDecorationAndState
 - All Known Implementing Classes:
- ClickEvent,- HoverEvent,- NamedTextColor,- TextDecoration
 - 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 interface StyleBuilderApplicable extends ComponentBuilderApplicable Something that can be applied to aStyle.- Since:
- 4.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcomponentBuilderApply(@NotNull ComponentBuilder<?,?> component)Applies tocomponent.voidstyleApply(@NotNull Style.Builder style)Applies tostyle.
 
- 
- 
- 
Method Detail- 
styleApply@Contract(mutates="param") void styleApply(@NotNull Style.Builder style) Applies tostyle.- Parameters:
- style- the style builder
- Since:
- 4.0.0
 
 - 
componentBuilderApplydefault void componentBuilderApply(@NotNull @NotNull ComponentBuilder<?,?> component)Description copied from interface:ComponentBuilderApplicableApplies tocomponent.- Specified by:
- componentBuilderApplyin interface- ComponentBuilderApplicable
- Parameters:
- component- the component builder
 
 
- 
 
-