public static class Tag.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Tag.Builder |
backgroundColor(int backgroundColor) |
Tag.Builder |
backgroundColorId(int backgroundColorId)
Make sure you do not call
backgroundColor(int) before, because it overrides backgroundColorId(int) |
Tag.Builder |
bold(boolean bold) |
Tag |
build() |
Tag.Builder |
id(int id)
Set tag id for identify tag later (click on tag)
|
Tag.Builder |
italic(boolean italic) |
Tag.Builder |
text(int resId)
Make sure you do not call
text(String) before, because it overrides text(int) |
Tag.Builder |
text(java.lang.String text) |
Tag.Builder |
textColor(int textColor) |
Tag.Builder |
textColorId(int textColorId)
Make sure you do not call
textColor(int) before, because it overrides textColorId(int) |
Tag.Builder |
textSize(float size) |
Tag.Builder |
textSizeId(int textSizeId)
Make sure you do not call
textSize(float) before, because it overrides textSizeId(int) |
Tag.Builder |
underline(boolean underline) |
public Tag.Builder id(int id)
public Tag.Builder text(java.lang.String text)
public Tag.Builder text(int resId)
text(String) before, because it overrides text(int)public Tag.Builder bold(boolean bold)
public Tag.Builder italic(boolean italic)
public Tag.Builder underline(boolean underline)
public Tag.Builder textColor(int textColor)
public Tag.Builder textColorId(int textColorId)
textColor(int) before, because it overrides textColorId(int)public Tag.Builder backgroundColor(int backgroundColor)
public Tag.Builder backgroundColorId(int backgroundColorId)
backgroundColor(int) before, because it overrides backgroundColorId(int)public Tag.Builder textSize(float size)
public Tag.Builder textSizeId(int textSizeId)
textSize(float) before, because it overrides textSizeId(int)public Tag build()