Package MySTARS

Class ConsoleColours

java.lang.Object
MySTARS.ConsoleColours

public final class ConsoleColours
extends java.lang.Object
ConsoleColours which are to be used in the MySTARS App. Adapted from https://stackoverflow.com/questions/5762491/how-to-print-color-in-console-using-system-out-println.
Since:
2020-11-1
Version:
1.0
Author:
Bhargav
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String BLACK
    Black text.
    static java.lang.String BLACK_BOLD
    Black bold text.
    static java.lang.String BLACK_BRIGHT
    Black bright text.
    static java.lang.String BLUE
    Blue text.
    static java.lang.String BLUE_BOLD
    Blue bold text.
    static java.lang.String BLUE_BRIGHT
    Blue bright text.
    static java.lang.String CYAN
    Cyan text.
    static java.lang.String CYAN_BOLD
    Cyan bold text.
    static java.lang.String CYAN_BRIGHT
    Cyan bright text.
    static java.lang.String GREEN
    Green text.
    static java.lang.String GREEN_BOLD
    Green bold text.
    static java.lang.String GREEN_BRIGHT
    Green bright text.
    static java.lang.String PURPLE
    Purple text.
    static java.lang.String PURPLE_BOLD
    Purple bold text.
    static java.lang.String PURPLE_BRIGHT
    Purple bright text.
    static java.lang.String RED
    Red text.
    static java.lang.String RED_BOLD
    Red bold text.
    static java.lang.String RED_BRIGHT
    Red bright text.
    static java.lang.String RESET
    Reset the color.
    static java.lang.String WHITE
    White text.
    static java.lang.String WHITE_BOLD
    White bold text.
    static java.lang.String WHITE_BRIGHT
    White bright text.
    static java.lang.String YELLOW
    Yellow text.
    static java.lang.String YELLOW_BOLD
    Yellow bold text.
    static java.lang.String YELLOW_BRIGHT
    Yellow bright text.
  • Constructor Summary

    Constructors 
    Constructor Description
    ConsoleColours()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait