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 a
TextDecoration
and a TextDecoration.State
.- Since:
- 4.8.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull TextDecoration
Gets the decoration.default @NotNull Stream<? extends net.kyori.examination.ExaminableProperty>
@NotNull TextDecoration.State
state()
Gets the state.default void
styleApply
(@NotNull Style.Builder style) Applies tostyle
.Methods inherited from interface net.kyori.examination.Examinable
examinableName, examine
Methods inherited from interface net.kyori.adventure.text.format.StyleBuilderApplicable
componentBuilderApply
-
Method Details
-
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
Description copied from interface:StyleBuilderApplicable
Applies tostyle
.- Specified by:
styleApply
in interfaceStyleBuilderApplicable
- Parameters:
style
- the style builder
-
examinableProperties
@NotNull default @NotNull Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()- Specified by:
examinableProperties
in interfacenet.kyori.examination.Examinable
-