Package net.kyori.adventure.text.format
Interface TextDecorationAndState
-
- All Superinterfaces:
ComponentBuilderApplicable,net.kyori.examination.Examinable,StyleBuilderApplicable
@NonExtendable public interface TextDecorationAndState extends net.kyori.examination.Examinable, StyleBuilderApplicable
A combination of aTextDecorationand aTextDecoration.State.- Since:
- 4.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull TextDecorationdecoration()Gets the decoration.default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty>examinableProperties()@NotNull TextDecoration.Statestate()Gets the state.default voidstyleApply(@NotNull Style.Builder style)Applies tostyle.-
Methods inherited from interface net.kyori.adventure.text.format.StyleBuilderApplicable
componentBuilderApply
-
-
-
-
Method Detail
-
decoration
@NotNull @NotNull TextDecoration decoration()
Gets the decoration.- Returns:
- the decoration
- Since:
- 4.8.0
-
state
@NotNull TextDecoration.State state()
Gets the state.- Returns:
- the state
- Since:
- 4.8.0
-
styleApply
default void styleApply(@NotNull Style.Builder style)
Description copied from interface:StyleBuilderApplicableApplies tostyle.- Specified by:
styleApplyin interfaceStyleBuilderApplicable- Parameters:
style- the style builder
-
examinableProperties
@NotNull default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
- Specified by:
examinablePropertiesin interfacenet.kyori.examination.Examinable
-
-