Uses of Enum Class
net.kyori.adventure.text.format.TextDecoration.State
Packages that use TextDecoration.State
Package
Description
Data for controlling components, their styles, and events.
Formats which may be applied to components.
-
Uses of TextDecoration.State in net.kyori.adventure.text
Methods in net.kyori.adventure.text that return TextDecoration.StateModifier and TypeMethodDescriptiondefault TextDecoration.StateComponent.decoration(TextDecoration decoration) Gets the state of a decoration on this component.Methods in net.kyori.adventure.text that return types with arguments of type TextDecoration.StateModifier and TypeMethodDescriptiondefault Map<TextDecoration, TextDecoration.State> Component.decorations()Gets a map of decorations this component has.Methods in net.kyori.adventure.text with parameters of type TextDecoration.StateModifier and TypeMethodDescriptiondefault ComponentComponent.decoration(TextDecoration decoration, TextDecoration.State state) Sets the value of a decoration on this component.ComponentBuilder.decoration(TextDecoration decoration, TextDecoration.State state) Sets the value of a decoration on this component.default CScopedComponent.decoration(TextDecoration decoration, TextDecoration.State state) default ComponentComponent.decorationIfAbsent(TextDecoration decoration, TextDecoration.State state) Sets the state of a decoration on this component tostateif the current state of the decoration isNOT_SET.ComponentBuilder.decorationIfAbsent(TextDecoration decoration, TextDecoration.State state) Sets the state of a decoration on this component tostateif the current state of the decoration isNOT_SET.default CScopedComponent.decorationIfAbsent(TextDecoration decoration, TextDecoration.State state) Method parameters in net.kyori.adventure.text with type arguments of type TextDecoration.StateModifier and TypeMethodDescriptiondefault ComponentComponent.decorations(Map<TextDecoration, TextDecoration.State> decorations) Sets decorations for this component's style using the specifieddecorationsmap.default BComponentBuilder.decorations(Map<TextDecoration, TextDecoration.State> decorations) Sets decorations for this component's style using the specifieddecorationsmap.default CScopedComponent.decorations(Map<TextDecoration, TextDecoration.State> decorations) -
Uses of TextDecoration.State in net.kyori.adventure.text.format
Methods in net.kyori.adventure.text.format that return TextDecoration.StateModifier and TypeMethodDescriptionstatic TextDecoration.StateTextDecoration.State.byBoolean(boolean flag) Gets a state from aboolean.static TextDecoration.StateGets a state from aBoolean.static TextDecoration.StateTextDecoration.State.byTriState(TriState flag) Gets a state from aTriState.Style.decoration(TextDecoration decoration) Gets the state of a decoration on this style.StyleGetter.decoration(TextDecoration decoration) Gets the state of a decoration on this stylable.TextDecorationAndState.state()Gets the state.static TextDecoration.StateReturns the enum constant of this class with the specified name.static TextDecoration.State[]TextDecoration.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.kyori.adventure.text.format that return types with arguments of type TextDecoration.StateModifier and TypeMethodDescriptiondefault @Unmodifiable Map<TextDecoration, TextDecoration.State> Style.decorations()Gets a map of decorations this style has.default @Unmodifiable Map<TextDecoration, TextDecoration.State> StyleGetter.decorations()Gets a map of decorations this stylable has.Methods in net.kyori.adventure.text.format with parameters of type TextDecoration.StateModifier and TypeMethodDescriptionStyle.Builder.decoration(TextDecoration decoration, TextDecoration.State state) Sets the value of a decoration.Style.decoration(TextDecoration decoration, TextDecoration.State state) Sets the value of a decoration on this style.StyleSetter.decoration(TextDecoration decoration, TextDecoration.State state) Sets the value of a decoration.Style.Builder.decorationIfAbsent(TextDecoration decoration, TextDecoration.State state) Sets the state of a decoration on this style tostateif the current state of the decoration isNOT_SET.Style.decorationIfAbsent(TextDecoration decoration, TextDecoration.State state) Sets the state of a decoration on this style tostateif the current state of the decoration isNOT_SET.StyleSetter.decorationIfAbsent(TextDecoration decoration, TextDecoration.State state) Sets the state of a decoration tostateif the current state of the decoration isNOT_SET.final TextDecorationAndStateTextDecoration.withState(TextDecoration.State state) Creates aTextDecorationAndState, annotating this decoration with the givenstate.Method parameters in net.kyori.adventure.text.format with type arguments of type TextDecoration.StateModifier and TypeMethodDescriptiondefault TMutableStyleSetter.decorations(Map<TextDecoration, TextDecoration.State> decorations) Sets decorations using the specifieddecorationsmap.default Style.BuilderStyle.Builder.decorations(Map<TextDecoration, TextDecoration.State> decorations) Sets decorations for this style using the specifieddecorationsmap.Style.decorations(Map<TextDecoration, TextDecoration.State> decorations) Sets decorations for this style using the specifieddecorationsmap.StyleSetter.decorations(Map<TextDecoration, TextDecoration.State> decorations) Sets decorations using the specifieddecorationsmap.