Uses of Class
org.aesh.terminal.utils.ANSIBuilder
Packages that use ANSIBuilder
-
Uses of ANSIBuilder in org.aesh.terminal.utils
Methods in org.aesh.terminal.utils that return ANSIBuilderModifier and TypeMethodDescriptionANSIBuilder.append(char data) Appends a character to the builder.ANSIBuilder.append(char[] data) Appends a character array to the builder.ANSIBuilder.append(double data) Appends a double to the builder.ANSIBuilder.append(float data) Appends a float to the builder.ANSIBuilder.append(int data) Appends an integer to the builder.ANSIBuilder.append(long data) Appends a long to the builder.ANSIBuilder.append(CharSequence data) Appends a CharSequence to the builder.Appends an Object to the builder.Appends a string to the builder.ANSIBuilder.append(StringBuilder data) Appends a StringBuilder to the builder.ANSIBuilder.appendLine(String text) Appends text followed by a newline.ANSIBuilder.bg(ANSIBuilder.Color color) Sets the background color.ANSIBuilder.bg256(int index) Sets the background color using the 256-color palette.Appends text with the specified 256-color background and resets.ANSIBuilder.bgCode(int code) Sets the background color using a raw ANSI color code.Sets the background color using a hex color value.ANSIBuilder.bgHsl(float h, float s, float l) Sets the background color using HSL values (converted to RGB true color).Appends text with the specified HSL background color and resets.ANSIBuilder.bgRgb(int r, int g, int b) Sets the background color using RGB values (true color).ANSIBuilder.blackBg()Sets background color to black.Appends text with black background and resets.ANSIBuilder.blackText()Sets foreground text color to black.Appends text with black foreground color and resets.ANSIBuilder.blink()Enables blinking text style.Appends text with blink style and disables blink after.ANSIBuilder.blinkOff()Disables blinking text style.ANSIBuilder.blueBg()Sets background color to blue.Appends text with blue background and resets.ANSIBuilder.blueText()Sets foreground text color to blue.Appends text with blue foreground color and resets.ANSIBuilder.bold()Enables bold text style.Appends text with bold style and disables bold after.ANSIBuilder.boldOff()Disables bold text style.ANSIBuilder.bright()Enables bright (high intensity) mode for subsequent colors.ANSIBuilder.brightOff()Disables bright mode, returning to normal intensity colors.static ANSIBuilderANSIBuilder.builder()Creates a new ANSIBuilder with ANSI formatting enabled.static ANSIBuilderANSIBuilder.builder(boolean enableAnsi) Creates a new ANSIBuilder with configurable ANSI formatting.static ANSIBuilderANSIBuilder.builder(TerminalColorCapability capability) Creates a new theme-aware ANSIBuilder with terminal color capability.ANSIBuilder.category()Sets the foreground color to the theme-appropriate category color (blue).Appends text with category styling (blue) and resets.ANSIBuilder.categoryCode(int code) Overrides the category (package/class name) color code for this builder.ANSIBuilder.categoryHex(String hex) Overrides the category color using a hex color value.ANSIBuilder.categoryHsl(float h, float s, float l) Overrides the category color using HSL values.ANSIBuilder.categoryRgb(int r, int g, int b) Overrides the category color using RGB values (true color).ANSIBuilder.clear()Clears the builder content and resets all formatting.ANSIBuilder.color256(int index) Sets the foreground color using the 256-color palette.Appends text with the specified 256-color foreground and resets.ANSIBuilder.conceal()Enables concealed (hidden) text style.Appends text with concealed style and disables conceal after.ANSIBuilder.concealOff()Disables concealed text style.ANSIBuilder.crossedOut()Enables crossed-out (strikethrough) text style.ANSIBuilder.crossedOut(String text) Appends text with crossed-out style and disables it after.ANSIBuilder.crossedOutOff()Disables crossed-out text style.ANSIBuilder.cyanBg()Sets background color to cyan.Appends text with cyan background and resets.ANSIBuilder.cyanText()Sets foreground text color to cyan.Appends text with cyan foreground color and resets.ANSIBuilder.debug()Sets the foreground color to the theme-appropriate debug color (cyan).Appends text with debug styling and resets.ANSIBuilder.debugCode(int code) Overrides the debug color code for this builder.Overrides the debug color using a hex color value.ANSIBuilder.debugHsl(float h, float s, float l) Overrides the debug color using HSL values.ANSIBuilder.debugRgb(int r, int g, int b) Overrides the debug color using RGB values (true color).ANSIBuilder.defaultBg()Sets background color to default.Appends text with default background and resets.ANSIBuilder.defaultText()Sets foreground text color to default.ANSIBuilder.defaultText(String text) Appends text with default foreground color and resets.ANSIBuilder.error()Sets the foreground color to the theme-appropriate error color (red).Appends text with error styling (red) and resets.ANSIBuilder.errorCode(int code) Overrides the error color code for this builder.Overrides the error color using a hex color value.ANSIBuilder.errorHsl(float h, float s, float l) Overrides the error color using HSL values.ANSIBuilder.errorRgb(int r, int g, int b) Overrides the error color using RGB values (true color).ANSIBuilder.faint()Enables faint (dim) text style.Appends text with faint style and resets after.ANSIBuilder.faintOff()Disables faint text style.ANSIBuilder.fatal()Sets the foreground color to the theme-appropriate fatal color (red).Appends text with fatal styling (red) and resets.ANSIBuilder.fatalCode(int code) Overrides the fatal color code for this builder.Overrides the fatal color using a hex color value.ANSIBuilder.fatalHsl(float h, float s, float l) Overrides the fatal color using HSL values.ANSIBuilder.fatalRgb(int r, int g, int b) Overrides the fatal color using RGB values (true color).ANSIBuilder.greenBg()Sets background color to green.Appends text with green background and resets.ANSIBuilder.greenText()Sets foreground text color to green.Appends text with green foreground color and resets.Sets the foreground color using a hex color value.Appends text with the specified hex foreground color and resets.ANSIBuilder.hsl(float h, float s, float l) Sets the foreground color using HSL values (converted to RGB true color).Appends text with the specified HSL foreground color and resets.ANSIBuilder.info()Sets the foreground color to the theme-appropriate info color (green).Appends text with info styling (green) and resets.ANSIBuilder.infoCode(int code) Overrides the info color code for this builder.Overrides the info color using a hex color value.ANSIBuilder.infoHsl(float h, float s, float l) Overrides the info color using HSL values.ANSIBuilder.infoRgb(int r, int g, int b) Overrides the info color using RGB values (true color).ANSIBuilder.invert()Enables inverted (reverse video) text style.Appends text with inverted style and disables invert after.ANSIBuilder.invertOff()Disables inverted text style.ANSIBuilder.italic()Enables italic text style.Appends text with italic style and disables italic after.ANSIBuilder.italicOff()Disables italic text style.ANSIBuilder.magentaBg()Sets background color to magenta.Appends text with magenta background and resets.ANSIBuilder.magentaText()Sets foreground text color to magenta.ANSIBuilder.magentaText(String text) Appends text with magenta foreground color and resets.ANSIBuilder.message()Sets the foreground color to the theme-appropriate message color (magenta).Appends text with message styling (magenta) and resets.ANSIBuilder.messageCode(int code) Overrides the message color code for this builder.ANSIBuilder.messageHex(String hex) Overrides the message color using a hex color value.ANSIBuilder.messageHsl(float h, float s, float l) Overrides the message color using HSL values.ANSIBuilder.messageRgb(int r, int g, int b) Overrides the message color using RGB values (true color).ANSIBuilder.newline()Appends a newline to the builder.ANSIBuilder.redBg()Sets background color to red.Appends text with red background and resets.ANSIBuilder.redText()Sets foreground text color to red.Appends text with red foreground color and resets.ANSIBuilder.reset()Clears the builder content and resets all formatting, identical to clear()ANSIBuilder.resetColors()Resets all colors and text styles to default.ANSIBuilder.rgb(int r, int g, int b) Sets the foreground color using RGB values (true color).Appends text with the specified RGB foreground color and resets.ANSIBuilder.success()Sets the foreground color to the theme-appropriate success color (green).Appends text with success styling (green) and resets.ANSIBuilder.successCode(int code) Overrides the success color code for this builder.ANSIBuilder.successHex(String hex) Overrides the success color using a hex color value.ANSIBuilder.successHsl(float h, float s, float l) Overrides the success color using HSL values.ANSIBuilder.successRgb(int r, int g, int b) Overrides the success color using RGB values (true color).ANSIBuilder.text(ANSIBuilder.Color color) Sets the foreground text color.ANSIBuilder.textCode(int code) Sets the foreground color using a raw ANSI color code.ANSIBuilder.textType(ANSIBuilder.TextType type) Sets the text type/style.ANSIBuilder.threadName()Sets the foreground color to the theme-appropriate thread name color (green).ANSIBuilder.threadName(String text) Appends text with thread name styling (green) and resets.ANSIBuilder.threadNameCode(int code) Overrides the thread name color code for this builder.ANSIBuilder.threadNameHex(String hex) Overrides the thread name color using a hex color value.ANSIBuilder.threadNameHsl(float h, float s, float l) Overrides the thread name color using HSL values.ANSIBuilder.threadNameRgb(int r, int g, int b) Overrides the thread name color using RGB values (true color).ANSIBuilder.timestamp()Sets the foreground color to the theme-appropriate timestamp color (gray).Appends text with timestamp styling (gray) and resets.ANSIBuilder.timestampCode(int code) Overrides the timestamp color code for this builder.ANSIBuilder.timestampHex(String hex) Overrides the timestamp color using a hex color value.ANSIBuilder.timestampHsl(float h, float s, float l) Overrides the timestamp color using HSL values.ANSIBuilder.timestampRgb(int r, int g, int b) Overrides the timestamp color using RGB values (true color).ANSIBuilder.trace()Sets the foreground color to the theme-appropriate trace color.Appends text with trace styling and resets.ANSIBuilder.traceCode(int code) Overrides the trace color code for this builder.Overrides the trace color using a hex color value.ANSIBuilder.traceHsl(float h, float s, float l) Overrides the trace color using HSL values.ANSIBuilder.traceRgb(int r, int g, int b) Overrides the trace color using RGB values (true color).ANSIBuilder.underline()Enables underline text style.Appends text with underline style and disables underline after.ANSIBuilder.underlineOff()Disables underline text style.ANSIBuilder.warning()Sets the foreground color to the theme-appropriate warning color (yellow).Appends text with warning styling (yellow) and resets.ANSIBuilder.warningCode(int code) Overrides the warning color code for this builder.ANSIBuilder.warningHex(String hex) Overrides the warning color using a hex color value.ANSIBuilder.warningHsl(float h, float s, float l) Overrides the warning color using HSL values.ANSIBuilder.warningRgb(int r, int g, int b) Overrides the warning color using RGB values (true color).ANSIBuilder.whiteBg()Sets background color to white.Appends text with white background and resets.ANSIBuilder.whiteText()Sets foreground text color to white.Appends text with white foreground color and resets.ANSIBuilder.yellowBg()Sets background color to yellow.Appends text with yellow background and resets.ANSIBuilder.yellowText()Sets foreground text color to yellow.ANSIBuilder.yellowText(String text) Appends text with yellow foreground color and resets.