815072d9cda11b127fc016c5c8469b00f85a7e14
[jvcard.git] / SGR.java
1 package com.googlecode.lanterna;
2
3 /**
4 * SGR - Select Graphic Rendition, changes the state of the terminal as to what kind of text to print after this
5 * command. When working with the Terminal interface, its keeping a state of which SGR codes are active, so activating
6 * one of these codes will make it apply to all text until you explicitly deactivate it. When you work with Screen and
7 * GUI systems, usually the SGR is a property of an independent character and won't affect others.
8 */
9 public enum SGR {
10 /**
11 * Bold text mode. Please note that on some terminal implementations, instead of (or in addition to) making the text
12 * bold, it will draw the text in a slightly different color
13 */
14 BOLD,
15
16 /**
17 * Reverse text mode, will flip the foreground and background colors while active
18 */
19 REVERSE,
20
21 /**
22 * Draws a horizontal line under the text. Not widely supported.
23 */
24 UNDERLINE,
25
26 /**
27 * Text will blink on the screen by alternating the foreground color between the real foreground color and the
28 * background color. Not widely supported.
29 */
30 BLINK,
31
32 /**
33 * Draws a border around the text. Rarely supported.
34 */
35 BORDERED,
36
37 /**
38 * I have no idea, exotic extension, please send me a reference screen shots!
39 */
40 FRAKTUR,
41
42 /**
43 * Draws a horizontal line through the text. Rarely supported.
44 */
45 CROSSED_OUT,
46
47 /**
48 * Draws a circle around the text. Rarely supported.
49 */
50 CIRCLED,
51 ;
52 }