public class Style
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Style.Serializer |
Constructor and Description |
---|
Style() |
Modifier and Type | Method and Description |
---|---|
Style |
createDeepCopy() |
Style |
createShallowCopy() |
boolean |
equals(java.lang.Object p_equals_1_) |
boolean |
getBold() |
ClickEvent |
getClickEvent() |
TextFormatting |
getColor() |
java.lang.String |
getFormattingCode() |
HoverEvent |
getHoverEvent() |
java.lang.String |
getInsertion() |
boolean |
getItalic() |
boolean |
getObfuscated() |
boolean |
getStrikethrough() |
boolean |
getUnderlined() |
int |
hashCode() |
boolean |
isEmpty() |
Style |
setBold(java.lang.Boolean boldIn) |
Style |
setClickEvent(ClickEvent event) |
Style |
setColor(TextFormatting color) |
Style |
setHoverEvent(HoverEvent event) |
Style |
setInsertion(java.lang.String insertion) |
Style |
setItalic(java.lang.Boolean italic) |
Style |
setObfuscated(java.lang.Boolean obfuscated) |
Style |
setParentStyle(Style parent) |
Style |
setStrikethrough(java.lang.Boolean strikethrough) |
Style |
setUnderlined(java.lang.Boolean underlined) |
java.lang.String |
toString() |
@Nullable public TextFormatting getColor()
public boolean getBold()
public boolean getItalic()
public boolean getStrikethrough()
public boolean getUnderlined()
public boolean getObfuscated()
public boolean isEmpty()
@Nullable public ClickEvent getClickEvent()
@Nullable public HoverEvent getHoverEvent()
@Nullable public java.lang.String getInsertion()
public Style setColor(TextFormatting color)
public Style setBold(java.lang.Boolean boldIn)
public Style setItalic(java.lang.Boolean italic)
public Style setStrikethrough(java.lang.Boolean strikethrough)
public Style setUnderlined(java.lang.Boolean underlined)
public Style setObfuscated(java.lang.Boolean obfuscated)
public Style setClickEvent(ClickEvent event)
public Style setHoverEvent(HoverEvent event)
public Style setInsertion(java.lang.String insertion)
public java.lang.String getFormattingCode()
public java.lang.String toString()
toString
in class java.lang.Object
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 Style createShallowCopy()
public Style createDeepCopy()