Class ColorsTrue
java.lang.Object
com.github.rvesse.airline.examples.io.ColorDemo<TrueColor>
com.github.rvesse.airline.examples.io.ColorsTrue
- All Implemented Interfaces:
ExampleRunnable
@Command(name="colors-true",
description="Displays some text in true (24 bit) color (if your terminal supports this)")
public class ColorsTrue
extends ColorDemo<TrueColor>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intgetColor(int c) protected TrueColor[]static voidprotected ColorizedOutputStream<TrueColor>
-
Field Details
-
red
-
green
@Option(name="--green", title="Green", description="Sets the desired green component") private int green -
blue
@Option(name="--blue", title="Blue", description="Sets the desired blue component") private int blue -
values
private int[] values
-
-
Constructor Details
-
ColorsTrue
public ColorsTrue()
-
-
Method Details
-
main
-
openOutputStream
- Specified by:
openOutputStreamin classColorDemo<TrueColor>
-
getColor
private int getColor(int c) -
getColors
-