Class Colors256
java.lang.Object
com.github.rvesse.airline.examples.io.ColorDemo<Color256>
com.github.rvesse.airline.examples.io.Colors256
- All Implemented Interfaces:
ExampleRunnable
@Command(name="colors-256",
description="Displays some text in 256 colors (if your terminal supports this)")
public class Colors256
extends ColorDemo<Color256>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intgetColor(int c) protected Color256[]static voidprotected ColorizedOutputStream<Color256>
-
Field Details
-
color
-
-
Constructor Details
-
Colors256
public Colors256()
-
-
Method Details
-
main
-
openOutputStream
- Specified by:
openOutputStreamin classColorDemo<Color256>
-
getColor
private int getColor(int c) -
getColors
-