static class ControlChar.ColorFormat extends ControlChar
ControlChar.Bold, ControlChar.ColorFormat, ControlChar.Italics, ControlChar.Normal, ControlChar.Underline
Modifier and Type | Field and Description |
---|---|
static char |
CODE
IRC control code.
|
Constructor and Description |
---|
ColorFormat(Color foreground,
Color background)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHtmlStart()
Get HTML start tag with foreground and background color codes
embedded.
|
getHtmlEnd, getTag
public static final char CODE
public java.lang.String getHtmlStart()
getHtmlStart
in class ControlChar
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.