@Environment(value=CLIENT) public static class TextRenderingUtils.LineSegment extends Object
Modifier and Type | Field and Description |
---|---|
private String |
fullText |
private String |
linkTitle |
private String |
linkUrl |
Modifier | Constructor and Description |
---|---|
private |
LineSegment(String fullText) |
private |
LineSegment(String fullText,
String linkTitle,
String linkUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getLinkUrl() |
int |
hashCode() |
boolean |
isLink() |
static TextRenderingUtils.LineSegment |
link(String linkTitle,
String linkUrl) |
String |
renderedText() |
protected static TextRenderingUtils.LineSegment |
text(String fullText) |
String |
toString() |
private final String fullText
private final String linkTitle
private final String linkUrl
private LineSegment(String fullText)
public String renderedText()
public boolean isLink()
public String getLinkUrl()
public static TextRenderingUtils.LineSegment link(String linkTitle, String linkUrl)
protected static TextRenderingUtils.LineSegment text(String fullText)