Package net.kyori.adventure.text
Class AbstractComponent
java.lang.Object
net.kyori.adventure.text.AbstractComponent
- All Implemented Interfaces:
Component
,ComponentBuilderApplicable
,ComponentLike
,HoverEventSource<Component>
,StyleGetter
,StyleSetter<Component>
,net.kyori.examination.Examinable
@ScheduledForRemoval(inVersion="5.0.0")
@Deprecated
public abstract class AbstractComponent
extends Object
implements Component
Deprecated.
for removal since 4.10.0
An abstract implementation of a text component.
- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface net.kyori.adventure.text.Component
EQUALS, EQUALS_IDENTITY, IS_NOT_EMPTY
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractComponent
(@NotNull List<? extends ComponentLike> children, @NotNull Style style) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.kyori.adventure.text.Component
append, append, append, appendNewline, appendSpace, applyFallbackStyle, applyFallbackStyle, asComponent, asHoverEvent, children, clickEvent, clickEvent, color, color, colorIfAbsent, compact, componentBuilderApply, contains, contains, decorate, decoration, decoration, decoration, decorationIfAbsent, decorations, decorations, detectCycle, examinableProperties, font, font, hasDecoration, hasStyling, hoverEvent, hoverEvent, insertion, insertion, iterable, iterable, iterator, iterator, mergeStyle, mergeStyle, mergeStyle, replaceFirstText, replaceFirstText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, shadowColor, shadowColor, shadowColorIfAbsent, spliterator, spliterator, style, style, style, style
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examine
Methods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEvent
Methods inherited from interface net.kyori.adventure.text.format.StyleSetter
decorate, decorations
-
Field Details
-
children
Deprecated. -
style
Deprecated.
-
-
Constructor Details
-
AbstractComponent
protected AbstractComponent(@NotNull @NotNull List<? extends ComponentLike> children, @NotNull @NotNull Style style) Deprecated.
-
-
Method Details