public class AttributedStyle extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BLACK |
static int |
BLUE |
static AttributedStyle |
BOLD |
static AttributedStyle |
BOLD_OFF |
static int |
BRIGHT |
static int |
CYAN |
static AttributedStyle |
DEFAULT |
static int |
GREEN |
static AttributedStyle |
HIDDEN |
static AttributedStyle |
HIDDEN_OFF |
static AttributedStyle |
INVERSE |
static AttributedStyle |
INVERSE_OFF |
static int |
MAGENTA |
static int |
RED |
static int |
WHITE |
static int |
YELLOW |
Constructor and Description |
---|
AttributedStyle() |
AttributedStyle(AttributedStyle s) |
AttributedStyle(long style,
long mask) |
public static final int BLACK
public static final int RED
public static final int GREEN
public static final int YELLOW
public static final int BLUE
public static final int MAGENTA
public static final int CYAN
public static final int WHITE
public static final int BRIGHT
public static final AttributedStyle DEFAULT
public static final AttributedStyle BOLD
public static final AttributedStyle BOLD_OFF
public static final AttributedStyle INVERSE
public static final AttributedStyle INVERSE_OFF
public static final AttributedStyle HIDDEN
public static final AttributedStyle HIDDEN_OFF
public AttributedStyle()
public AttributedStyle(AttributedStyle s)
public AttributedStyle(long style, long mask)
public AttributedStyle bold()
public AttributedStyle boldOff()
public AttributedStyle boldDefault()
public AttributedStyle faint()
public AttributedStyle faintOff()
public AttributedStyle faintDefault()
public AttributedStyle italic()
public AttributedStyle italicOff()
public AttributedStyle italicDefault()
public AttributedStyle underline()
public AttributedStyle underlineOff()
public AttributedStyle underlineDefault()
public AttributedStyle blink()
public AttributedStyle blinkOff()
public AttributedStyle blinkDefault()
public AttributedStyle inverse()
public AttributedStyle inverseNeg()
public AttributedStyle inverseOff()
public AttributedStyle inverseDefault()
public AttributedStyle conceal()
public AttributedStyle concealOff()
public AttributedStyle concealDefault()
public AttributedStyle crossedOut()
public AttributedStyle crossedOutOff()
public AttributedStyle crossedOutDefault()
public AttributedStyle foreground(int color)
public AttributedStyle foreground(int r, int g, int b)
public AttributedStyle foregroundRgb(int color)
public AttributedStyle foregroundOff()
public AttributedStyle foregroundDefault()
public AttributedStyle background(int color)
public AttributedStyle background(int r, int g, int b)
public AttributedStyle backgroundRgb(int color)
public AttributedStyle backgroundOff()
public AttributedStyle backgroundDefault()
public AttributedStyle hidden()
public AttributedStyle hiddenOff()
public AttributedStyle hiddenDefault()
public long getStyle()
public long getMask()
public String toAnsi()