public interface MessageLogger
Modifier and Type | Field and Description |
---|---|
static int |
BOLD
The bold style.
|
static int |
CROSSED
The crossed style (line-through).
|
static int |
DEFAULT_FONT_SIZE
The default font style.
|
static int |
DEFAULT_STYLE
The default style.
|
static int |
ITALIC
The italic style.
|
static int |
UNDERLINE
The underline style.
|
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.String txt)
Append a line of text in the message area.
|
void |
append(java.lang.String txt,
long time)
Append a line of text with a time value in the message area.
|
void |
append(java.lang.String txt,
java.lang.String htmlColor)
Append a line of text in the message area.
|
default void |
append(java.lang.String txt,
java.lang.String htmlColor,
int fontSize,
int style)
Append a line of text in the message area.
|
void |
appendLink(java.lang.String txt,
java.lang.String linkID)
Append a line of text with an hyperlink in the message area.
|
void |
appendLink(java.lang.String txt,
java.lang.String linkID,
java.lang.String htmlColor)
Append a line of text with an hyperlink in the message area.
|
void |
appendLink(java.lang.String txt,
java.lang.String linkID,
java.lang.String htmlColor,
int fontSize,
int style)
Append a line of text with an hyperlink in the message area.
|
static final int DEFAULT_FONT_SIZE
static final int DEFAULT_STYLE
static final int BOLD
static final int ITALIC
static final int UNDERLINE
static final int CROSSED
void append(java.lang.String txt)
txt
- the textvoid append(java.lang.String txt, java.lang.String htmlColor)
txt
- the text to showhtmlColor
- the html-define color to use for the textdefault void append(java.lang.String txt, java.lang.String htmlColor, int fontSize, int style)
txt
- the text to showhtmlColor
- the html-defined color to use for the textfontSize
- the text font sizestyle
- the text stylevoid appendLink(java.lang.String txt, java.lang.String linkID)
txt
- the text to showlinkID
- the linkvoid appendLink(java.lang.String txt, java.lang.String linkID, java.lang.String htmlColor)
txt
- the text to showlinkID
- the linkhtmlColor
- the html-define color to use for the textvoid appendLink(java.lang.String txt, java.lang.String linkID, java.lang.String htmlColor, int fontSize, int style)
txt
- the text to showlinkID
- the linkhtmlColor
- the html-define color to use for the textfontSize
- the text font sizestyle
- the text stylevoid append(java.lang.String txt, long time)
txt
- the text to showtime
- the time