Package picocli

Class CommandLine.Help.Ansi.Palette256Color

    • Constructor Summary

      Constructors 
      Constructor Description
      Palette256Color​(boolean foreground, java.lang.String color)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String off()
      Returns the ANSI escape code for turning this style off.
      java.lang.String on()
      Returns the ANSI escape code for turning this style on.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fgbg

        private final int fgbg
      • color

        private final int color
    • Constructor Detail

      • Palette256Color

        Palette256Color​(boolean foreground,
                        java.lang.String color)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object