- 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 intBACKGROUNDControl Code for setting the background colourstatic intBACKGROUND_BRIGHTControl Code for setting the high intensity variant of the background colourstatic intBACKGROUND_EXTENDEDControl Code for setting the background colour to an extended colourstatic intBLINK_OFFstatic intBLINK_RAPIDstatic intBLINK_SLOWstatic intBOLDstatic intBOLD_OFFstatic charCOLOR_MODE_256256 colour extended colour modestatic charCOLOR_MODE_TRUE24 bit extended colour modestatic intCONCEALstatic intDEFAULT_BACKGROUNDControl code for resetting the background colour to the defaultstatic intDEFAULT_FOREGROUNDControl code for resetting the foreground colour to the defaultstatic StringESCAPEStandard ANSI escape sequencestatic intFAINTstatic intFOREGROUNDControl Code for setting the foreground colourstatic intFOREGROUND_BRIGHTControl Code for setting the high intensity variant of the foreground colourstatic intFOREGROUND_EXTENDEDControl Code for setting the foreground colour to an extended colourstatic intIMAGE_NEGATIVEstatic intIMAGE_POSITIVEstatic intITALICstatic intITALIC_OFFstatic intNORMAL_INTENSITYstatic charPARAM_SEPARATORCharacter used to separate parameters in ANSI escape sequencesstatic charRESETCharacter used to request resetstatic intREVEALstatic charSELECT_GRAPHIC_RENDITIONCommand code for setting the graphics renditionstatic intSTRIKE_THROUGHstatic intSTRIKE_THROUGH_OFFstatic intUNDERLINEstatic intUNDERLINE_OFF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetGraphicsResetCode()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
-
-