-
-
Field Summary
Fields Modifier and Type Field Description private final StringRESETprivate final StringBLACKprivate final StringREDprivate final StringGREENprivate final StringYELLOWprivate final StringBLUEprivate final StringMAGENTAprivate final StringCYANprivate final StringWHITEprivate final StringDEFAULTprivate final StringBLACK_BGprivate final StringRED_BGprivate final StringGREEN_BGprivate final StringYELLOW_BGprivate final StringBLUE_BGprivate final StringMAGENTA_BGprivate final StringCYAN_BGprivate final StringWHITE_BGprivate final StringDEFAULT_BGprivate final StringBRIGHT_BLACKprivate final StringBRIGHT_REDprivate final StringBRIGHT_GREENprivate final StringBRIGHT_YELLOWprivate final StringBRIGHT_BLUEprivate final StringBRIGHT_MAGENTAprivate final StringBRIGHT_CYANprivate final StringBRIGHT_WHITEprivate final StringBRIGHT_BLACK_BGprivate final StringBRIGHT_RED_BGprivate final StringBRIGHT_GREEN_BGprivate final StringBRIGHT_YELLOW_BGprivate final StringBRIGHT_BLUE_BGprivate final StringBRIGHT_MAGENTA_BGprivate final StringBRIGHT_CYAN_BGprivate final StringBRIGHT_WHITE_BGprivate final StringBOLDprivate final StringUNDERLINEprivate final StringBLINKprivate final StringINVERSEprivate final StringBOLD_OFFprivate final StringUNDERLINE_OFFprivate final StringBLINK_OFFprivate final StringINVERSE_OFFpublic final static AnsiINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetRESET()Disable all options applied before. final StringgetBLACK()Set black as the foreground color. final StringgetRED()Set red as the foreground color. final StringgetGREEN()Set green as the foreground color. final StringgetYELLOW()Set yellow as the foreground color. final StringgetBLUE()Set blue as the foreground color. final StringgetMAGENTA()Set magenta as the foreground color. final StringgetCYAN()Set cyan as the foreground color. final StringgetWHITE()Set white as the foreground color. final StringgetDEFAULT()Set back the default foreground color. final StringgetBLACK_BG()Set black as the background color. final StringgetRED_BG()Set red as the background color. final StringgetGREEN_BG()Set green as the background color. final StringgetYELLOW_BG()Set yellow as the background color. final StringgetBLUE_BG()Set blue as the background color. final StringgetMAGENTA_BG()Set magenta as the background color. final StringgetCYAN_BG()Set cyan as the background color. final StringgetWHITE_BG()Set white as the background color. final StringgetDEFAULT_BG()Set back the default background color. final StringgetBRIGHT_BLACK()Set bright black as the foreground color. final StringgetBRIGHT_RED()Set bright red as the foreground color. final StringgetBRIGHT_GREEN()Set bright green as the foreground color. final StringgetBRIGHT_YELLOW()Set bright yellow as the foreground color. final StringgetBRIGHT_BLUE()Set bright blue as the foreground color. final StringgetBRIGHT_MAGENTA()Set bright magenta as the foreground color. final StringgetBRIGHT_CYAN()Set bright cyan as the foreground color. final StringgetBRIGHT_WHITE()Set bright white as the foreground color. final StringgetBRIGHT_BLACK_BG()Set bright black as the background color. final StringgetBRIGHT_RED_BG()Set bright red as the background color. final StringgetBRIGHT_GREEN_BG()Set bright green as the background color. final StringgetBRIGHT_YELLOW_BG()Set bright yellow as the background color. final StringgetBRIGHT_BLUE_BG()Set bright blue as the background color. final StringgetBRIGHT_MAGENTA_BG()Set bright magenta as the background color. final StringgetBRIGHT_CYAN_BG()Set bright cyan as the background color. final StringgetBRIGHT_WHITE_BG()Set bright white as the background color. final StringgetBOLD()Enable bold text. final StringgetUNDERLINE()Enable underline text. final StringgetBLINK()Enable blinking text. final StringgetINVERSE()Enable inverse color text. final StringgetBOLD_OFF()Disable bold text. final StringgetUNDERLINE_OFF()Disable underline text. final StringgetBLINK_OFF()Disable blinking text. final StringgetINVERSE_OFF()Disable inverse color text. -
-
Method Detail
-
getMAGENTA
final String getMAGENTA()
Set magenta as the foreground color.
-
getDEFAULT
final String getDEFAULT()
Set back the default foreground color.
-
getBLACK_BG
final String getBLACK_BG()
Set black as the background color.
-
getGREEN_BG
final String getGREEN_BG()
Set green as the background color.
-
getYELLOW_BG
final String getYELLOW_BG()
Set yellow as the background color.
-
getBLUE_BG
final String getBLUE_BG()
Set blue as the background color.
-
getMAGENTA_BG
final String getMAGENTA_BG()
Set magenta as the background color.
-
getCYAN_BG
final String getCYAN_BG()
Set cyan as the background color.
-
getWHITE_BG
final String getWHITE_BG()
Set white as the background color.
-
getDEFAULT_BG
final String getDEFAULT_BG()
Set back the default background color.
-
getBRIGHT_BLACK
final String getBRIGHT_BLACK()
Set bright black as the foreground color.
-
getBRIGHT_RED
final String getBRIGHT_RED()
Set bright red as the foreground color.
-
getBRIGHT_GREEN
final String getBRIGHT_GREEN()
Set bright green as the foreground color.
-
getBRIGHT_YELLOW
final String getBRIGHT_YELLOW()
Set bright yellow as the foreground color.
-
getBRIGHT_BLUE
final String getBRIGHT_BLUE()
Set bright blue as the foreground color.
-
getBRIGHT_MAGENTA
final String getBRIGHT_MAGENTA()
Set bright magenta as the foreground color.
-
getBRIGHT_CYAN
final String getBRIGHT_CYAN()
Set bright cyan as the foreground color.
-
getBRIGHT_WHITE
final String getBRIGHT_WHITE()
Set bright white as the foreground color.
-
getBRIGHT_BLACK_BG
final String getBRIGHT_BLACK_BG()
Set bright black as the background color.
-
getBRIGHT_RED_BG
final String getBRIGHT_RED_BG()
Set bright red as the background color.
-
getBRIGHT_GREEN_BG
final String getBRIGHT_GREEN_BG()
Set bright green as the background color.
-
getBRIGHT_YELLOW_BG
final String getBRIGHT_YELLOW_BG()
Set bright yellow as the background color.
-
getBRIGHT_BLUE_BG
final String getBRIGHT_BLUE_BG()
Set bright blue as the background color.
-
getBRIGHT_MAGENTA_BG
final String getBRIGHT_MAGENTA_BG()
Set bright magenta as the background color.
-
getBRIGHT_CYAN_BG
final String getBRIGHT_CYAN_BG()
Set bright cyan as the background color.
-
getBRIGHT_WHITE_BG
final String getBRIGHT_WHITE_BG()
Set bright white as the background color.
-
getUNDERLINE
final String getUNDERLINE()
Enable underline text.
-
getINVERSE
final String getINVERSE()
Enable inverse color text.
-
getBOLD_OFF
final String getBOLD_OFF()
Disable bold text.
-
getUNDERLINE_OFF
final String getUNDERLINE_OFF()
Disable underline text.
-
getBLINK_OFF
final String getBLINK_OFF()
Disable blinking text.
-
getINVERSE_OFF
final String getINVERSE_OFF()
Disable inverse color text.
-
-
-
-