public class ColorHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BLACK |
static String |
BLINK |
static String |
BLINK_OFF |
static String |
BLUE |
static String |
BOLD |
static String |
BOLD_OFF |
static String |
CYAN |
static String |
GREEN |
static String |
INTERNAL_MARKER |
static String |
ITALIC |
static String |
ITALIC_OFF |
static String |
MAGENTA |
static int |
MARKER_CODE |
static String |
RED |
static String |
RESET_ALL |
static String |
UNDERLINED |
static String |
UNDERLINED_OFF |
static String |
white |
static String |
YELLOW |
Constructor and Description |
---|
ColorHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
blinkingText(String str) |
static String |
boldcolorizeText(String str,
String color) |
static String |
boldcolorizeText(String str,
String fgc,
String bgc) |
static String |
boldText(String str) |
static String |
colorizeBackground(String str,
String color) |
static String |
colorizeText(String str,
String color) |
static String |
colorizeText(String str,
String fgc,
String bgc) |
static long |
getVisibleLength(String str) |
static String |
italicText(String str) |
static String |
underlinedText(String str) |
public static final String INTERNAL_MARKER
public static final int MARKER_CODE
public static final String BLACK
public static final String RED
public static final String GREEN
public static final String YELLOW
public static final String BLUE
public static final String MAGENTA
public static final String CYAN
public static final String white
public static final String BOLD
public static final String BOLD_OFF
public static final String ITALIC
public static final String ITALIC_OFF
public static final String UNDERLINED
public static final String UNDERLINED_OFF
public static final String BLINK
public static final String BLINK_OFF
public static final String RESET_ALL
public static long getVisibleLength(String str)
Copyright © 2024. All rights reserved.