- java.lang.Object
-
- com.github.rvesse.airline.io.AnsiControlCodes
-
public class AnsiControlCodes extends Object
Constants- Author:
- rvesse
-
-
Field Summary
Fields Modifier and Type Field Description static int
BACKGROUND
Control Code for setting the background colourstatic int
BACKGROUND_BRIGHT
Control Code for setting the high intensity variant of the background colourstatic int
BACKGROUND_EXTENDED
Control Code for setting the background colour to an extended colourstatic int
BLINK_OFF
static int
BLINK_RAPID
static int
BLINK_SLOW
static int
BOLD
static int
BOLD_OFF
static char
COLOR_MODE_256
256 colour extended colour modestatic char
COLOR_MODE_TRUE
24 bit extended colour modestatic int
CONCEAL
static int
DEFAULT_BACKGROUND
Control code for resetting the background colour to the defaultstatic int
DEFAULT_FOREGROUND
Control code for resetting the foreground colour to the defaultstatic String
ESCAPE
Standard ANSI escape sequencestatic int
FAINT
static int
FOREGROUND
Control Code for setting the foreground colourstatic int
FOREGROUND_BRIGHT
Control Code for setting the high intensity variant of the foreground colourstatic int
FOREGROUND_EXTENDED
Control Code for setting the foreground colour to an extended colourstatic int
IMAGE_NEGATIVE
static int
IMAGE_POSITIVE
static int
ITALIC
static int
ITALIC_OFF
static int
NORMAL_INTENSITY
static char
PARAM_SEPARATOR
Character used to separate parameters in ANSI escape sequencesstatic char
RESET
Character used to request resetstatic int
REVEAL
static char
SELECT_GRAPHIC_RENDITION
Command code for setting the graphics renditionstatic int
STRIKE_THROUGH
static int
STRIKE_THROUGH_OFF
static int
UNDERLINE
static int
UNDERLINE_OFF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getGraphicsResetCode()
Provides the ANSI full graphics reset code
-
-
-
Field Detail
-
ESCAPE
public static final String ESCAPE
Standard ANSI escape sequence- See Also:
- Constant Field Values
-
PARAM_SEPARATOR
public static final char PARAM_SEPARATOR
Character used to separate parameters in ANSI escape sequences- See Also:
- Constant Field Values
-
SELECT_GRAPHIC_RENDITION
public static final char SELECT_GRAPHIC_RENDITION
Command code for setting the graphics rendition- See Also:
- Constant Field Values
-
RESET
public static final char RESET
Character used to request reset- See Also:
- Constant Field Values
-
BOLD
public static final int BOLD
- See Also:
- Constant Field Values
-
FAINT
public static final int FAINT
- See Also:
- Constant Field Values
-
ITALIC
public static final int ITALIC
- See Also:
- Constant Field Values
-
UNDERLINE
public static final int UNDERLINE
- See Also:
- Constant Field Values
-
BLINK_SLOW
public static final int BLINK_SLOW
- See Also:
- Constant Field Values
-
BLINK_RAPID
public static final int BLINK_RAPID
- See Also:
- Constant Field Values
-
IMAGE_NEGATIVE
public static final int IMAGE_NEGATIVE
- See Also:
- Constant Field Values
-
CONCEAL
public static final int CONCEAL
- See Also:
- Constant Field Values
-
STRIKE_THROUGH
public static final int STRIKE_THROUGH
- See Also:
- Constant Field Values
-
BOLD_OFF
public static final int BOLD_OFF
- See Also:
- Constant Field Values
-
NORMAL_INTENSITY
public static final int NORMAL_INTENSITY
- See Also:
- Constant Field Values
-
ITALIC_OFF
public static final int ITALIC_OFF
- See Also:
- Constant Field Values
-
UNDERLINE_OFF
public static final int UNDERLINE_OFF
- See Also:
- Constant Field Values
-
BLINK_OFF
public static final int BLINK_OFF
- See Also:
- Constant Field Values
-
IMAGE_POSITIVE
public static final int IMAGE_POSITIVE
- See Also:
- Constant Field Values
-
REVEAL
public static final int REVEAL
- See Also:
- Constant Field Values
-
STRIKE_THROUGH_OFF
public static final int STRIKE_THROUGH_OFF
- See Also:
- Constant Field Values
-
FOREGROUND
public static final int FOREGROUND
Control Code for setting the foreground colour- See Also:
- Constant Field Values
-
FOREGROUND_EXTENDED
public static final int FOREGROUND_EXTENDED
Control Code for setting the foreground colour to an extended colour- See Also:
- Constant Field Values
-
BACKGROUND
public static final int BACKGROUND
Control Code for setting the background colour- See Also:
- Constant Field Values
-
BACKGROUND_EXTENDED
public static final int BACKGROUND_EXTENDED
Control Code for setting the background colour to an extended colour- See Also:
- Constant Field Values
-
DEFAULT_FOREGROUND
public static final int DEFAULT_FOREGROUND
Control code for resetting the foreground colour to the default- See Also:
- Constant Field Values
-
DEFAULT_BACKGROUND
public static final int DEFAULT_BACKGROUND
Control code for resetting the background colour to the default- See Also:
- Constant Field Values
-
FOREGROUND_BRIGHT
public static final int FOREGROUND_BRIGHT
Control Code for setting the high intensity variant of the foreground colour- See Also:
- Constant Field Values
-
BACKGROUND_BRIGHT
public static final int BACKGROUND_BRIGHT
Control Code for setting the high intensity variant of the background colour- See Also:
- Constant Field Values
-
COLOR_MODE_TRUE
public static final char COLOR_MODE_TRUE
24 bit extended colour mode- See Also:
- Constant Field Values
-
COLOR_MODE_256
public static final char COLOR_MODE_256
256 colour extended colour mode- See Also:
- Constant Field Values
-
-
Method Detail
-
getGraphicsResetCode
public static String getGraphicsResetCode()
Provides the ANSI full graphics reset code- Returns:
- ANSI Full graphics reset code
-
-