| Modifier and Type | Field and Description |
|---|---|
| public static final StyleCode | |
| private final String | |
| public static final StyleCode | |
| public static final StyleCode | |
| public static final StyleCode | |
| public static final StyleCode | |
| public static final StyleCode | |
| public static final StyleCode | |
| public static final StyleCode | |
| public static final StyleCode |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The ANSI escape code string.Implements io. Returns the ANSI code itself, making it easy to use in print statements. |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static StyleCode | |
| public static StyleCode[] |
| BOLD | back to summary |
|---|---|
| public static final StyleCode BOLD | |
| code | back to summary |
|---|---|
| private final String code | |
| DIM | back to summary |
|---|---|
| public static final StyleCode DIM | |
| DOUBLE_UNDERLINE | back to summary |
|---|---|
| public static final StyleCode DOUBLE_UNDERLINE | |
| INVISIBLE_TEXT | back to summary |
|---|---|
| public static final StyleCode INVISIBLE_TEXT | |
| ITALIC | back to summary |
|---|---|
| public static final StyleCode ITALIC | |
| RESET | back to summary |
|---|---|
| public static final StyleCode RESET | |
| REVERSE_VIDEO | back to summary |
|---|---|
| public static final StyleCode REVERSE_VIDEO | |
| STRIKETHROUGH | back to summary |
|---|---|
| public static final StyleCode STRIKETHROUGH | |
| UNDERLINE | back to summary |
|---|---|
| public static final StyleCode UNDERLINE | |
| StyleCode | back to summary |
|---|---|
| private StyleCode(String code) Constructs a StyleCode enum value.
| |
| ansiSequence | back to summary |
|---|---|
| public String ansiSequence() Implements io. Returns the ANSI code itself, making it easy to use in print statements. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static StyleCode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static StyleCode[] values() | |