Enum Constant and Description |
---|
BODY |
BUTTON |
BUTTON_CLASS |
CARD |
COLOR_0 |
COLOR_1 |
COLOR_2 |
COLOR_3 |
COLOR_4 |
COLOR_5 |
COLOR_6 |
COLOR_7 |
COLOR_8 |
COLOR_9 |
COLOR_A |
COLOR_B |
COLOR_C |
COLOR_D |
COLOR_E |
COLOR_F |
DIV_W_CLASS |
DIV_W_CLASS_STYLE |
FA_COLORED_ICON
Deprecated.
Use com.djrapitops.plan.utilities.html.icon.Icon instead
|
FONT_AWESOME_ICON
Deprecated.
Use com.djrapitops.plan.utilities.html.icon.Icon instead
|
HEADER |
HEADER_2 |
HELP_BUBBLE |
IMG |
LINK |
LINK_A |
LINK_CLASS |
LINK_EXTERNAL |
LINK_TOOLTIP |
PANEL |
PANEL_BODY |
PARAGRAPH |
ROW |
SPAN |
TABLE |
TABLE_BODY |
TABLE_COLORED |
TABLE_END |
TABLE_HEAD |
TABLE_JQUERY |
TABLE_SCROLL |
TABLE_START_2 |
TABLE_START_3 |
TABLE_START_4 |
TABLELINE_2 |
TABLELINE_3 |
TABLELINE_3_CUSTOMKEY |
TABLELINE_3_CUSTOMKEY_1 |
TABLELINE_4 |
TABLELINE_PLAYERS |
TABLELINE_PLAYERS_PLAYERS_PAGE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
parse() |
java.lang.String |
parse(java.io.Serializable... replacements) |
static java.lang.String |
swapColorCodesToSpan(java.lang.String string)
Changes Minecraft color codes to HTML span elements with correct color class assignments.
|
static Html |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Html[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Html COLOR_0
public static final Html COLOR_1
public static final Html COLOR_2
public static final Html COLOR_3
public static final Html COLOR_4
public static final Html COLOR_5
public static final Html COLOR_6
public static final Html COLOR_7
public static final Html COLOR_8
public static final Html COLOR_9
public static final Html COLOR_A
public static final Html COLOR_B
public static final Html COLOR_C
public static final Html COLOR_D
public static final Html COLOR_E
public static final Html COLOR_F
@Deprecated public static final Html FONT_AWESOME_ICON
@Deprecated public static final Html FA_COLORED_ICON
public static final Html SPAN
public static final Html BUTTON
public static final Html BUTTON_CLASS
public static final Html LINK
public static final Html LINK_A
public static final Html LINK_TOOLTIP
public static final Html LINK_EXTERNAL
public static final Html LINK_CLASS
public static final Html IMG
public static final Html PARAGRAPH
public static final Html HEADER
public static final Html HEADER_2
public static final Html DIV_W_CLASS
public static final Html DIV_W_CLASS_STYLE
public static final Html ROW
public static final Html CARD
public static final Html BODY
public static final Html PANEL
public static final Html PANEL_BODY
public static final Html HELP_BUBBLE
public static final Html TABLE_END
public static final Html TABLE
public static final Html TABLE_SCROLL
public static final Html TABLE_JQUERY
public static final Html TABLE_COLORED
public static final Html TABLE_HEAD
public static final Html TABLE_BODY
public static final Html TABLE_START_2
public static final Html TABLE_START_3
public static final Html TABLE_START_4
public static final Html TABLELINE_2
public static final Html TABLELINE_3
public static final Html TABLELINE_4
public static final Html TABLELINE_PLAYERS
public static final Html TABLELINE_PLAYERS_PLAYERS_PAGE
public static final Html TABLELINE_3_CUSTOMKEY
public static final Html TABLELINE_3_CUSTOMKEY_1
public static Html[] values()
for (Html c : Html.values()) System.out.println(c);
public static Html valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String parse()
public static java.lang.String swapColorCodesToSpan(java.lang.String string)
string
- String to replace Minecraft color codes frompublic java.lang.String parse(java.io.Serializable... replacements)
replacements
- The replacement Strings