Package software.amazon.smithy.cli
Interface Style
-
- All Known Implementing Classes:
Style.Constant
,Style.Multi
public interface Style
Colors and styles for use withAnsiColorFormatter
orCliPrinter
.ANSI codes returned by this interface should not include the opening
\033[
, the final;m
when opening styles, or the closing[0m
. These escapes are added automatically when multiple styles are applied.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Style.Constant
static class
Style.Multi
-
Field Summary
Fields Modifier and Type Field Description static Style
BG_BLACK
static Style
BG_BLUE
static Style
BG_BRIGHT_BLACK
static Style
BG_BRIGHT_BLUE
static Style
BG_BRIGHT_CYAN
static Style
BG_BRIGHT_GREEN
static Style
BG_BRIGHT_MAGENTA
static Style
BG_BRIGHT_RED
static Style
BG_BRIGHT_WHITE
static Style
BG_BRIGHT_YELLOW
static Style
BG_CYAN
static Style
BG_GREEN
static Style
BG_MAGENTA
static Style
BG_RED
static Style
BG_WHITE
static Style
BG_YELLOW
static Style
BLACK
static Style
BLUE
static Style
BOLD
static Style
BRIGHT_BLACK
static Style
BRIGHT_BLUE
static Style
BRIGHT_CYAN
static Style
BRIGHT_GREEN
static Style
BRIGHT_MAGENTA
static Style
BRIGHT_RED
static Style
BRIGHT_WHITE
static Style
BRIGHT_YELLOW
static Style
CYAN
static Style
FAINT
static Style
GREEN
static Style
ITALIC
static Style
MAGENTA
static Style
RED
static Style
UNDERLINE
static Style
WHITE
static Style
YELLOW
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAnsiColorCode()
static Style
of(Style... styles)
-
-
-
Field Detail
-
BOLD
static final Style BOLD
-
FAINT
static final Style FAINT
-
ITALIC
static final Style ITALIC
-
UNDERLINE
static final Style UNDERLINE
-
BLACK
static final Style BLACK
-
RED
static final Style RED
-
GREEN
static final Style GREEN
-
YELLOW
static final Style YELLOW
-
BLUE
static final Style BLUE
-
MAGENTA
static final Style MAGENTA
-
CYAN
static final Style CYAN
-
WHITE
static final Style WHITE
-
BRIGHT_BLACK
static final Style BRIGHT_BLACK
-
BRIGHT_RED
static final Style BRIGHT_RED
-
BRIGHT_GREEN
static final Style BRIGHT_GREEN
-
BRIGHT_YELLOW
static final Style BRIGHT_YELLOW
-
BRIGHT_BLUE
static final Style BRIGHT_BLUE
-
BRIGHT_MAGENTA
static final Style BRIGHT_MAGENTA
-
BRIGHT_CYAN
static final Style BRIGHT_CYAN
-
BRIGHT_WHITE
static final Style BRIGHT_WHITE
-
BG_BLACK
static final Style BG_BLACK
-
BG_RED
static final Style BG_RED
-
BG_GREEN
static final Style BG_GREEN
-
BG_YELLOW
static final Style BG_YELLOW
-
BG_BLUE
static final Style BG_BLUE
-
BG_MAGENTA
static final Style BG_MAGENTA
-
BG_CYAN
static final Style BG_CYAN
-
BG_WHITE
static final Style BG_WHITE
-
BG_BRIGHT_BLACK
static final Style BG_BRIGHT_BLACK
-
BG_BRIGHT_RED
static final Style BG_BRIGHT_RED
-
BG_BRIGHT_GREEN
static final Style BG_BRIGHT_GREEN
-
BG_BRIGHT_YELLOW
static final Style BG_BRIGHT_YELLOW
-
BG_BRIGHT_BLUE
static final Style BG_BRIGHT_BLUE
-
BG_BRIGHT_MAGENTA
static final Style BG_BRIGHT_MAGENTA
-
BG_BRIGHT_CYAN
static final Style BG_BRIGHT_CYAN
-
BG_BRIGHT_WHITE
static final Style BG_BRIGHT_WHITE
-
-