public static class RichTextSectionElement.Text extends Object implements RichTextElement
Modifier and Type | Class and Description |
---|---|
static class |
RichTextSectionElement.Text.TextBuilder |
Constructor and Description |
---|
Text() |
Text(String text,
RichTextSectionElement.TextStyle style) |
Modifier and Type | Method and Description |
---|---|
static RichTextSectionElement.Text.TextBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
RichTextSectionElement.TextStyle |
getStyle() |
String |
getText() |
String |
getType() |
int |
hashCode() |
void |
setStyle(RichTextSectionElement.TextStyle style) |
void |
setText(String text) |
String |
toString() |
public static final String TYPE
public Text()
public Text(String text, RichTextSectionElement.TextStyle style)
public static RichTextSectionElement.Text.TextBuilder builder()
public String getType()
getType
in interface RichTextElement
public String getText()
public RichTextSectionElement.TextStyle getStyle()
public void setText(String text)
public void setStyle(RichTextSectionElement.TextStyle style)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.