public abstract class ChatComponentStyle extends java.lang.Object implements IChatComponent
IChatComponent.Serializer
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
siblings |
Constructor and Description |
---|
ChatComponentStyle() |
Modifier and Type | Method and Description |
---|---|
IChatComponent |
appendSibling(IChatComponent component) |
IChatComponent |
appendText(java.lang.String text) |
static java.util.Iterator |
createDeepCopyIterator(java.lang.Iterable components) |
boolean |
equals(java.lang.Object p_equals_1_) |
ChatStyle |
getChatStyle() |
java.lang.String |
getFormattedText() |
java.util.List |
getSiblings() |
java.lang.String |
getUnformattedText() |
int |
hashCode() |
java.util.Iterator |
iterator() |
IChatComponent |
setChatStyle(ChatStyle style) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createCopy, getUnformattedTextForChat
public IChatComponent appendSibling(IChatComponent component)
appendSibling
in interface IChatComponent
public java.util.List getSiblings()
getSiblings
in interface IChatComponent
public IChatComponent appendText(java.lang.String text)
appendText
in interface IChatComponent
public IChatComponent setChatStyle(ChatStyle style)
setChatStyle
in interface IChatComponent
public ChatStyle getChatStyle()
getChatStyle
in interface IChatComponent
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
public final java.lang.String getUnformattedText()
getUnformattedText
in interface IChatComponent
public final java.lang.String getFormattedText()
getFormattedText
in interface IChatComponent
public static java.util.Iterator createDeepCopyIterator(java.lang.Iterable 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