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