public abstract class TextComponentBase extends java.lang.Object implements ITextComponent
ITextComponent.Serializer
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ITextComponent> |
siblings |
Constructor and Description |
---|
TextComponentBase() |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
appendSibling(ITextComponent component) |
ITextComponent |
appendText(java.lang.String text) |
static java.util.Iterator<ITextComponent> |
createDeepCopyIterator(java.lang.Iterable<ITextComponent> components) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getFormattedText() |
java.util.List<ITextComponent> |
getSiblings() |
Style |
getStyle() |
java.lang.String |
getUnformattedText() |
int |
hashCode() |
java.util.Iterator<ITextComponent> |
iterator() |
ITextComponent |
setStyle(Style style) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createCopy, getUnformattedComponentText
protected java.util.List<ITextComponent> siblings
public ITextComponent appendSibling(ITextComponent component)
appendSibling
in interface ITextComponent
public java.util.List<ITextComponent> getSiblings()
getSiblings
in interface ITextComponent
public ITextComponent appendText(java.lang.String text)
appendText
in interface ITextComponent
public ITextComponent setStyle(Style style)
setStyle
in interface ITextComponent
public Style getStyle()
getStyle
in interface ITextComponent
public java.util.Iterator<ITextComponent> iterator()
iterator
in interface java.lang.Iterable<ITextComponent>
public final java.lang.String getUnformattedText()
getUnformattedText
in interface ITextComponent
public final java.lang.String getFormattedText()
getFormattedText
in interface ITextComponent
public static java.util.Iterator<ITextComponent> createDeepCopyIterator(java.lang.Iterable<ITextComponent> components)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object