Uses of Class
com.diogonunes.jcolor.Attribute
-
Uses of Attribute in com.diogonunes.jcolor
Methods in com.diogonunes.jcolor that return AttributeModifier and TypeMethodDescriptionstatic AttributeAttribute.BACK_COLOR(int colorNumber) Paints the background using an 8-bit color from the 256-color palette.static AttributeAttribute.BACK_COLOR(int r, int g, int b) Paints the background using a 24-bit true color (RGB).static AttributeAttribute.BLACK_BACK()Returns An Attribute that paints the background black.static AttributeAttribute.BLACK_TEXT()Returns An Attribute that paints the text black.static AttributeAttribute.BLUE_BACK()Returns An Attribute that paints the background blue.static AttributeAttribute.BLUE_TEXT()Returns An Attribute that paints the text blue.static AttributeAttribute.BOLD()Returns An Attribute that makes text bold.static AttributeAttribute.BRIGHT_BLACK_BACK()Returns An Attribute that paints the background bright black.static AttributeAttribute.BRIGHT_BLACK_TEXT()Returns An Attribute that paints the text bright black.static AttributeAttribute.BRIGHT_BLUE_BACK()Returns An Attribute that paints the background bright blue.static AttributeAttribute.BRIGHT_BLUE_TEXT()Returns An Attribute that paints the text bright blue.static AttributeAttribute.BRIGHT_CYAN_BACK()Returns An Attribute that paints the background bright cyan.static AttributeAttribute.BRIGHT_CYAN_TEXT()Returns An Attribute that paints the text bright cyan.static AttributeAttribute.BRIGHT_GREEN_BACK()Returns An Attribute that paints the background bright green.static AttributeAttribute.BRIGHT_GREEN_TEXT()Returns An Attribute that paints the text bright green.static AttributeAttribute.BRIGHT_MAGENTA_BACK()Returns An Attribute that paints the background bright magenta.static AttributeAttribute.BRIGHT_MAGENTA_TEXT()Returns An Attribute that paints the text bright magenta.static AttributeAttribute.BRIGHT_RED_BACK()Returns An Attribute that paints the background bright red.static AttributeAttribute.BRIGHT_RED_TEXT()Returns An Attribute that paints the text bright red.static AttributeAttribute.BRIGHT_WHITE_BACK()Returns An Attribute that paints the background bright white.static AttributeAttribute.BRIGHT_WHITE_TEXT()Returns An Attribute that paints the text bright white.static AttributeAttribute.BRIGHT_YELLOW_BACK()Returns An Attribute that paints the background bright yellow.static AttributeAttribute.BRIGHT_YELLOW_TEXT()Returns An Attribute that paints the text bright yellow.static AttributeAttribute.CLEAR()Returns An Attribute that clears any format, restoring the terminal's default.static AttributeAttribute.CYAN_BACK()Returns An Attribute that paints the background cyan.static AttributeAttribute.CYAN_TEXT()Returns An Attribute that paints the text cyan.static AttributeAttribute.DESATURATED()Returns An Attribute that dims the text (alias ofAttribute.DIM()).static AttributeAttribute.DIM()Returns An Attribute that dims the text.static AttributeAttribute.ENCIRCLED()Returns An Attribute that encircles the text.static AttributeAttribute.FRAMED()Returns An Attribute that draws a frame around the text.static AttributeAttribute.GREEN_BACK()Returns An Attribute that paints the background green.static AttributeAttribute.GREEN_TEXT()Returns An Attribute that paints the text green.static AttributeAttribute.HIDDEN()Returns An Attribute that hides the text (same color as background).static AttributeAttribute.ITALIC()Returns An Attribute that makes text italic.static AttributeAttribute.MAGENTA_BACK()Returns An Attribute that paints the background magenta.static AttributeAttribute.MAGENTA_TEXT()Returns An Attribute that paints the text magenta.static AttributeAttribute.NONE()Returns An Attribute that applies no formatting.static AttributeAttribute.OVERLINED()Returns An Attribute that draws a line above the text.static AttributeAttribute.RAPID_BLINK()Returns An Attribute that makes the text blink rapidly.static AttributeAttribute.RED_BACK()Returns An Attribute that paints the background red.static AttributeAttribute.RED_TEXT()Returns An Attribute that paints the text red.static AttributeAttribute.REVERSE()Returns An Attribute that swaps foreground and background colors.static AttributeAttribute.SATURATED()Returns An Attribute that makes text bold (alias ofAttribute.BOLD()).static AttributeAttribute.SLOW_BLINK()Returns An Attribute that makes the text blink slowly.static AttributeAttribute.STRIKETHROUGH()Returns An Attribute that strikes through the text.static AttributeAttribute.TEXT_COLOR(int colorNumber) Paints the text using an 8-bit color from the 256-color palette.static AttributeAttribute.TEXT_COLOR(int r, int g, int b) Paints the text using a 24-bit true color (RGB).protected Attribute[]AnsiFormat.toArray()Returns the attributes of this format as an array.static AttributeAttribute.UNDERLINE()Returns An Attribute that underlines the text.static AttributeAttribute.WHITE_BACK()Returns An Attribute that paints the background white.static AttributeAttribute.WHITE_TEXT()Returns An Attribute that paints the text white.static AttributeAttribute.YELLOW_BACK()Returns An Attribute that paints the background yellow.static AttributeAttribute.YELLOW_TEXT()Returns An Attribute that paints the text yellow.Methods in com.diogonunes.jcolor with parameters of type AttributeModifier and TypeMethodDescriptionstatic StringWraps the text with the ANSI code that applies the given attributes.static StringAnsi.generateCode(Attribute... attributes) Generates the ANSI code that applies the given attributes.static StringAnsi.makeItFabulous(String text, Attribute... attributes) Easter egg.Constructors in com.diogonunes.jcolor with parameters of type AttributeModifierConstructorDescriptionAnsiFormat(Attribute... attributes) Creates a new format that bundles the given attributes.