Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addArgument(Argument<?>...) - Method in class org.strassburger.tui4j.command.Command
-
Adds one or more arguments to this command.
- addOption(String, T) - Method in class org.strassburger.tui4j.input.SelectInput
-
Adds an option to the select input
- addOption(Option<?>...) - Method in class org.strassburger.tui4j.command.Command
-
Adds one or more options to this command.
- addOptions(List<SelectInput.Option<T>>) - Method in class org.strassburger.tui4j.input.SelectInput
-
Adds multiple options to the select input
- addPart(String) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- addPart(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- addRow(List<StyledText>) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Adds a row to the table
- addSubCommand(Command...) - Method in class org.strassburger.tui4j.command.Command
-
Adds one or more sub-commands to this command.
Example: - addValidationRule(ValidationRule<T>) - Method in class org.strassburger.tui4j.input.Input
-
Add a validation rule to the input
- addValidationRules(List<ValidationRule<T>>) - Method in class org.strassburger.tui4j.input.Input
-
Add validation rules to the input
- after(Date) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is after a specified date.
- after(Date, String) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is after a specified date with a custom string error message.
- after(Date, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is after a specified date with a custom styled error message.
- alphanumeric() - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is alphanumeric.
- alphanumeric(String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is alphanumeric with a custom string error message.
- alphanumeric(StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is alphanumeric with a custom error message.
- AnsiCode - Enum Class in org.strassburger.tui4j.formatting.ansi
- AnsiColor - Class in org.strassburger.tui4j.formatting.ansi
-
Represents an ANSI color that can be used in terminal styling
- AnsiRenderer - Class in org.strassburger.tui4j.formatting.ansi
-
A StyledTextRenderer implementation that renders text with ANSI escape codes
- AnsiRenderer() - Constructor for class org.strassburger.tui4j.formatting.ansi.AnsiRenderer
- append(String) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Append a plain string to this StyledText
- append(String, Style) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Append a string with the given style to this StyledText
- append(StyledText) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Append another StyledText to this one
- applyGradient(String, U) - Static method in class org.strassburger.tui4j.formatting.util.GradientFormatter
-
Deprecated.
- Argument<T> - Class in org.strassburger.tui4j.command
- Argument(String, Class<T>, boolean) - Constructor for class org.strassburger.tui4j.command.Argument
- ARROW - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- ARROWS - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
B
- BALL - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- before(Date) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is before a specified date.
- before(Date, String) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is before a specified date with a custom string error message.
- before(Date, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is before a specified date with a custom styled error message.
- BEL - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- bg(Color) - Method in class org.strassburger.tui4j.formatting.Style
- bg(Color) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Set the background color of the last span
- BG_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_RED - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_RED - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_BRIGHT_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_BRIGHT_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_DEFAULT - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_RED - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_RED - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BG_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BG_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BLACK - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BLINK - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BLINK_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BLOCK - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- BLOCKS - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BLUE - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- bold() - Method in class org.strassburger.tui4j.formatting.Style
- bold() - Method in class org.strassburger.tui4j.formatting.StyledText
-
Make the last span bold
- BOLD - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- BOLD - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BOLD_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- bool(String, boolean) - Static method in class org.strassburger.tui4j.command.Argument
-
Creates a boolean argument.
- bool(String, String) - Static method in class org.strassburger.tui4j.command.Option
-
Creates a boolean option.
- BooleanInput - Class in org.strassburger.tui4j.input
- BooleanInput() - Constructor for class org.strassburger.tui4j.input.BooleanInput
-
Deprecated.
- BooleanInput(Printer) - Constructor for class org.strassburger.tui4j.input.BooleanInput
- borderColor() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.ColorableTableStyle
- borderColor() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the color used for the table borders
- bottomLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- bottomLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- bottomLeft() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- bottomLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- bottomRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- bottomRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- bottomRight() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- bottomRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- BOUNCING_BALL - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- BRACKET - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- BRIGHT_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_BLACK - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_BLUE - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_CYAN - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_GREEN - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_MAGENTA - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_RED - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_RED - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_WHITE - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BRIGHT_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- BRIGHT_YELLOW - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- BS - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- build() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
- Builder() - Constructor for class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
C
- center(String) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Center text in the terminal
- center(String, int) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Center text in the terminal
- CENTER - Enum constant in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
- CENTER - Enum constant in enum class org.strassburger.tui4j.formatting.layout.table.styles.ColumnAlign
- CIRCLE - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- clear() - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- clear() - Method in interface org.strassburger.tui4j.printer.Printer
-
Clear the output
- clearFormatting(String) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Clear formatting from text
- CLOCK - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- ColorableTableStyle - Class in org.strassburger.tui4j.formatting.layout.table.styles
- ColorableTableStyle() - Constructor for class org.strassburger.tui4j.formatting.layout.table.styles.ColorableTableStyle
- ColorCodeReplacer - Class in org.strassburger.tui4j.formatting.util
-
Deprecated.Use
AnsiRendererandStyledTextinstead. - ColorCodeReplacer() - Constructor for class org.strassburger.tui4j.formatting.util.ColorCodeReplacer
-
Deprecated.
- ColumnAlign - Enum Class in org.strassburger.tui4j.formatting.layout.table.styles
-
Enum representing column alignment options in a table.
- Command - Class in org.strassburger.tui4j.command
-
Represents a command in a command-line interface (CLI) application.
- Command(String, List<Command>, List<Option<?>>, List<Argument<?>>, CommandHandler) - Constructor for class org.strassburger.tui4j.command.Command
- CommandContext - Class in org.strassburger.tui4j.command
-
Represents the context of a command execution, including its name, arguments, and options.
- CommandContext(String, Map<Argument<?>, Object>, Map<Option<?>, Object>) - Constructor for class org.strassburger.tui4j.command.CommandContext
-
Constructs a CommandContext with the given options map.
- CommandException - Exception in org.strassburger.tui4j.command.exceptions
- CommandException(String) - Constructor for exception org.strassburger.tui4j.command.exceptions.CommandException
- CommandException(String, Throwable) - Constructor for exception org.strassburger.tui4j.command.exceptions.CommandException
- CommandHandler - Interface in org.strassburger.tui4j.command
- CommandParser - Class in org.strassburger.tui4j.command
- complete(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Complete the progress bar and display a final message
- complete(StyledText, boolean) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Complete the progress bar and optionally display a final message
- ConsolePrinter - Class in org.strassburger.tui4j.printer
-
A Printer implementation that outputs to the console (System.out)
- ConsolePrinter() - Constructor for class org.strassburger.tui4j.printer.ConsolePrinter
-
Creates a ConsolePrinter with the default AnsiRenderer
- ConsolePrinter(StyledTextRenderer) - Constructor for class org.strassburger.tui4j.printer.ConsolePrinter
-
Creates a ConsolePrinter with a custom StyledTextRenderer
- ConsolePrinter(Terminal, StyledTextRenderer) - Constructor for class org.strassburger.tui4j.printer.ConsolePrinter
-
Creates a ConsolePrinter with a custom StyledTextRenderer
- ContinueInput - Class in org.strassburger.tui4j.input
- ContinueInput() - Constructor for class org.strassburger.tui4j.input.ContinueInput
-
Deprecated.Use
ContinueInput(Printer)instead - ContinueInput(Printer) - Constructor for class org.strassburger.tui4j.input.ContinueInput
- CR - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_BACK - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_COLUMN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_DOWN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_FORWARD - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_HOME - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_NEXT_LINE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_POSITION - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_POSITION_REQUEST - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_PREVIOUS_LINE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_RESTORE_DEC - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_RESTORE_SCO - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_SAVE_DEC - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_SAVE_SCO - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CURSOR_UP - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- CYAN - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
D
- DASHED - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- DateInput - Class in org.strassburger.tui4j.input
-
A class for handling date input
- DateInput() - Constructor for class org.strassburger.tui4j.input.DateInput
-
Deprecated.Use
DateInput(Printer)instead - DateInput(Printer) - Constructor for class org.strassburger.tui4j.input.DateInput
- DateValidationRules - Class in org.strassburger.tui4j.input.validationrules
- DateValidationRules() - Constructor for class org.strassburger.tui4j.input.validationrules.DateValidationRules
- dbl(String, boolean) - Static method in class org.strassburger.tui4j.command.Argument
-
Creates a double argument.
- dbl(String, String, Double) - Static method in class org.strassburger.tui4j.command.Option
-
Creates a double option.
- DEFAULT - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- DEFAULT - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- DEFAULT - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- DEFAULT - Static variable in class org.strassburger.tui4j.formatting.layout.table.styles.TableStyles
- DefaultTableStyle - Class in org.strassburger.tui4j.formatting.layout.table.styles
-
A TableStyle implementation that mimics the style of MySQL command line ASCII tables.
- DefaultTableStyle() - Constructor for class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- DEL - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- DIM - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- disallowEmpty() - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is not empty.
- disallowEmpty(String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is not empty with a custom string error message.
- disallowEmpty(StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is not empty with a custom error message.
- DOTS - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- DoubleInput - Class in org.strassburger.tui4j.input
- DoubleInput() - Constructor for class org.strassburger.tui4j.input.DoubleInput
-
Deprecated.Use
DoubleInput(Printer)instead - DoubleInput(Printer) - Constructor for class org.strassburger.tui4j.input.DoubleInput
E
- END - Enum constant in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
- END - Enum constant in enum class org.strassburger.tui4j.formatting.layout.table.styles.ColumnAlign
- equals(Object) - Method in class org.strassburger.tui4j.formatting.Span
- equals(Object) - Method in class org.strassburger.tui4j.formatting.Style
- equals(Object) - Method in record class org.strassburger.tui4j.terminal.TerminalSize.Size
-
Indicates whether some other object is "equal to" this one.
- ERASE_DISPLAY - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_DISPLAY_CURSOR_TO_BEGINNING - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_DISPLAY_CURSOR_TO_END - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_DISPLAY_ENTIRE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_DISPLAY_SAVED_LINES - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_LINE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_LINE_CURSOR_TO_END - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_LINE_ENTIRE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ERASE_LINE_START_TO_CURSOR - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ESC - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- execute(String[]) - Method in class org.strassburger.tui4j.command.Command
-
Parses the given arguments and executes the command's handler.
- EYES - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
F
- FF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- fg(Color) - Method in class org.strassburger.tui4j.formatting.Style
- fg(Color) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Set the foreground color of the last span
- FG_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_BLACK - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_BLUE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_RED - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_BRIGHT_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_CYAN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_DEFAULT - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_RED - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FG_YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- FlexJustify - Enum Class in org.strassburger.tui4j.formatting.layout
-
Enumeration for flexbox justification options
- FlexText - Class in org.strassburger.tui4j.formatting.layout
-
A layout component that arranges multiple StyledText parts with flexible justification and spacing.
- FlexText() - Constructor for class org.strassburger.tui4j.formatting.layout.FlexText
- FlexText(StyledText...) - Constructor for class org.strassburger.tui4j.formatting.layout.FlexText
-
Creates a FlexText with a single part
- flt(String, boolean) - Static method in class org.strassburger.tui4j.command.Argument
-
Creates a float argument.
- flt(String, String, Float) - Static method in class org.strassburger.tui4j.command.Option
-
Creates a float option.
- format(Object...) - Method in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
-
Formats the ANSI code with the given arguments.
- format(String) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Format text with color codes
- futureDate() - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is in the future.
- futureDate(String) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is in the future with a custom string error message.
- futureDate(StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is in the future with a custom styled error message.
- FUTURISTIC - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
G
- get() - Static method in class org.strassburger.tui4j.terminal.TerminalSize
-
Attempts to get the terminal size using multiple methods.
Falls back to a default size of 80x24 if all methods fail. - getArguments() - Method in class org.strassburger.tui4j.command.Command
- getArguments() - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the map of arguments and their corresponding values.
- getArgumentValue(String, Class<T>) - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the value of the specified argument by its name.
- getArgumentValue(Argument<T>) - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the value of the specified argument.
- getBackground() - Method in class org.strassburger.tui4j.formatting.Style
- getBarColor() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
- getCommandName() - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the name of the command associated with this context.
- getCursor() - Method in class org.strassburger.tui4j.input.Input
- getDateFormat() - Method in class org.strassburger.tui4j.input.DateInput
-
Get the current date format
- getDefaultValue() - Method in class org.strassburger.tui4j.command.Option
- getEmptyChar() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- getEndDelimiter() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- getErrorMessage() - Method in class org.strassburger.tui4j.input.Input
- getErrorMessage() - Method in interface org.strassburger.tui4j.input.validationrules.ValidationRule
- getFillChar() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- getForeground() - Method in class org.strassburger.tui4j.formatting.Style
- getGap() - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- getHandler() - Method in class org.strassburger.tui4j.command.Command
- getJustify() - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- getLabel() - Method in class org.strassburger.tui4j.input.Input
-
Deprecated.Use
Input.getPrompt()instead - getLabel() - Method in class org.strassburger.tui4j.input.SelectInput.Option
- getLongName() - Method in class org.strassburger.tui4j.command.Option
- getMessage() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
- getName() - Method in class org.strassburger.tui4j.command.Argument
- getName() - Method in class org.strassburger.tui4j.command.Command
- getOptions() - Method in class org.strassburger.tui4j.command.Command
- getOptions() - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the map of options and their corresponding values.
- getOptionValue(String, Class<T>) - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the value of the specified option by its name.
- getOptionValue(Option<T>) - Method in class org.strassburger.tui4j.command.CommandContext
-
Retrieves the value of the specified option.
- getOsName() - Method in class org.strassburger.tui4j.terminal.Terminal
-
Returns the OS name.
- getParts() - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- getPointerChar() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- getPrinter() - Method in class org.strassburger.tui4j.input.Input
- getPrompt() - Method in class org.strassburger.tui4j.input.Input
- getScanner() - Method in class org.strassburger.tui4j.input.Input
- getSeparatorChar() - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- getShortName() - Method in class org.strassburger.tui4j.command.Option
- getSize() - Method in class org.strassburger.tui4j.terminal.Terminal
-
Returns the terminal size in columns and rows.
- getSpans() - Method in class org.strassburger.tui4j.formatting.StyledText
- getSpeedMs() - Method in class org.strassburger.tui4j.formatting.layout.Spinner
- getSpinnerColor() - Method in class org.strassburger.tui4j.formatting.layout.Spinner
- getSpinnerFrames() - Method in class org.strassburger.tui4j.formatting.layout.Spinner
- getStartDelimiter() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- getStyle() - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
- getStyle() - Method in class org.strassburger.tui4j.formatting.Span
- getStyledMessage() - Method in exception org.strassburger.tui4j.input.exceptions.InputValidationException
- getStyledMessage() - Method in exception org.strassburger.tui4j.input.exceptions.RetryInputException
- getSubCommands() - Method in class org.strassburger.tui4j.command.Command
- getTerminal() - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- getText() - Method in class org.strassburger.tui4j.formatting.Span
- getTextRenderer() - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- getType() - Method in class org.strassburger.tui4j.command.Argument
- getType() - Method in class org.strassburger.tui4j.command.Option
- getValue() - Method in class org.strassburger.tui4j.input.SelectInput.Option
- gradient(String, String, String) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Add an HSL gradient to text
- gradient(String, T, T) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Add an HSL gradient to text
- gradient(String, U) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Add a gradient to text
- GradientFormatter - Class in org.strassburger.tui4j.formatting.util
-
Deprecated.
- GradientFormatter() - Constructor for class org.strassburger.tui4j.formatting.util.GradientFormatter
-
Deprecated.
- greaterThan(T) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is greater than the given value.
- greaterThan(T, String) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is greater than the given value with a custom error message.
- greaterThan(T, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is greater than the given value with a custom error message.
- greaterThanOrEqualTo(T) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is greater than or equal to the given value.
- greaterThanOrEqualTo(T, String) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is greater than or equal to the given value with a custom error message.
- greaterThanOrEqualTo(T, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is greater than or equal to the given value with a custom error message.
- GREEN - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- GREEN - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- GROWING_DOTS - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
H
- handle(CommandContext) - Method in interface org.strassburger.tui4j.command.CommandHandler
- hashCode() - Method in class org.strassburger.tui4j.formatting.Span
- hashCode() - Method in class org.strassburger.tui4j.formatting.Style
- hashCode() - Method in record class org.strassburger.tui4j.terminal.TerminalSize.Size
-
Returns a hash code value for this object.
- hasHeader() - Method in class org.strassburger.tui4j.formatting.layout.table.Table
- height() - Method in record class org.strassburger.tui4j.terminal.TerminalSize.Size
-
Returns the value of the
heightrecord component. - HIDDEN - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- HIDDEN_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- horizontal() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- horizontal() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- horizontal() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for horizontal borders between rows
- horizontal() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- horizontalBottom() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- horizontalBottom() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- horizontalBottom() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for the bottom horizontal border
- horizontalBottom() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- horizontalHeaderSeparator() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- horizontalHeaderSeparator() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- horizontalHeaderSeparator() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for horizontal border below the header if present
- horizontalHeaderSeparator() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- horizontalTop() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- horizontalTop() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- horizontalTop() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for the top horizontal border
- horizontalTop() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- HT - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
I
- Input<T,
S extends Input<T, S>> - Class in org.strassburger.tui4j.input -
Abstract class for input
- Input() - Constructor for class org.strassburger.tui4j.input.Input
-
Deprecated.Use
Input(Printer)instead - Input(Printer) - Constructor for class org.strassburger.tui4j.input.Input
-
Constructor with default scanner
- InputValidationException - Exception in org.strassburger.tui4j.input.exceptions
- InputValidationException(String) - Constructor for exception org.strassburger.tui4j.input.exceptions.InputValidationException
- InputValidationException(StyledText) - Constructor for exception org.strassburger.tui4j.input.exceptions.InputValidationException
- integer(String, boolean) - Static method in class org.strassburger.tui4j.command.Argument
-
Creates an integer argument.
- integer(String, String, Integer) - Static method in class org.strassburger.tui4j.command.Option
-
Creates an integer option.
- IntegerInput - Class in org.strassburger.tui4j.input
- IntegerInput() - Constructor for class org.strassburger.tui4j.input.IntegerInput
-
Deprecated.Use
IntegerInput(Printer)instead - IntegerInput(Printer) - Constructor for class org.strassburger.tui4j.input.IntegerInput
- intersection() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- intersection() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- intersection() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- intersection() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- InvalidValueException - Exception in org.strassburger.tui4j.command.exceptions
- InvalidValueException(String, Class<?>, Throwable) - Constructor for exception org.strassburger.tui4j.command.exceptions.InvalidValueException
- inverse() - Method in class org.strassburger.tui4j.formatting.Style
- INVERSE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- INVERSE_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- isAnsiSupported() - Method in class org.strassburger.tui4j.terminal.Terminal
-
Returns true if ANSI escape codes are likely supported.
- isBold() - Method in class org.strassburger.tui4j.formatting.Style
- isInverse() - Method in class org.strassburger.tui4j.formatting.Style
- isRequired() - Method in class org.strassburger.tui4j.command.Argument
- isRetryOnInvalid() - Method in class org.strassburger.tui4j.input.Input
- isUnderline() - Method in class org.strassburger.tui4j.formatting.Style
- ITALIC - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- ITALIC_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
J
- JUMPING_BLOCK - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
K
- keyValue(String, String) - Static method in class org.strassburger.tui4j.formatting.layout.FlexText
-
Creates a FlexText representing a key-value pair with a clear line separation
- keyValue(StyledText, StyledText) - Static method in class org.strassburger.tui4j.formatting.layout.FlexText
-
Creates a FlexText representing a key-value pair with a clear line separation
L
- length() - Method in class org.strassburger.tui4j.formatting.StyledText
-
Get the total length of the entire StyledText
- lessThan(T) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is equal to the given value.
- lessThan(T, String) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is equal to the given value with a custom error message.
- lessThan(T, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is equal to the given value with a custom error message.
- lessThanOrEqualTo(T) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is less than or equal to the given value.
- lessThanOrEqualTo(T, String) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is less than or equal to the given value with a custom error message.
- lessThanOrEqualTo(T, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.NumberValidationRules
-
Validates that the input is less than or equal to the given value with a custom error message.
- LF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- LIGHT - Static variable in class org.strassburger.tui4j.formatting.layout.table.styles.TableStyles
- LightTableStyle - Class in org.strassburger.tui4j.formatting.layout.table.styles
- LightTableStyle() - Constructor for class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
M
- MAGENTA - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- MAGENTA - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- maxLength(int) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is at most a certain length.
- maxLength(int, String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is at most a certain length with a custom string error message.
- maxLength(int, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is at most a certain length with a custom error message.
- minLength(int) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is at least a certain length.
- minLength(int, String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is at least a certain length with a custom string error message.
- minLength(int, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input is at least a certain length with a custom error message.
- MissingArgumentException - Exception in org.strassburger.tui4j.command.exceptions
- MissingArgumentException(String) - Constructor for exception org.strassburger.tui4j.command.exceptions.MissingArgumentException
- MissingOptionValueException - Exception in org.strassburger.tui4j.command.exceptions
- MissingOptionValueException(String) - Constructor for exception org.strassburger.tui4j.command.exceptions.MissingOptionValueException
- MOON_PHASES - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- MultilineTextInput - Class in org.strassburger.tui4j.input
- MultilineTextInput() - Constructor for class org.strassburger.tui4j.input.MultilineTextInput
-
Deprecated.Use
MultilineTextInput(Printer)instead - MultilineTextInput(Printer) - Constructor for class org.strassburger.tui4j.input.MultilineTextInput
N
- named(String) - Static method in class org.strassburger.tui4j.command.Command
-
Creates a named command with the given name.
- noNumbers() - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input does not contain numbers.
- noNumbers(String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input does not contain numbers with a custom string error message.
- noNumbers(StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input does not contain numbers with a custom error message.
- noSpaces() - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input contains spaces.
- noSpaces(String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input contains spaces with a custom error message.
- noSpaces(StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input contains spaces with a custom error message.
- NumberInput<U extends Number> - Class in org.strassburger.tui4j.input
-
A generic class for handling numeric user input with validation.
- NumberInput(Class<U>) - Constructor for class org.strassburger.tui4j.input.NumberInput
-
Deprecated.Use
NumberInput(Class, Printer)instead - NumberInput(Class<U>, Printer) - Constructor for class org.strassburger.tui4j.input.NumberInput
-
Create a new NumberInput object.
- NumberValidationRules - Class in org.strassburger.tui4j.input.validationrules
- NumberValidationRules() - Constructor for class org.strassburger.tui4j.input.validationrules.NumberValidationRules
O
- of(String, Class<T>, boolean) - Static method in class org.strassburger.tui4j.command.Argument
- of(String, String, Class<T>, T) - Static method in class org.strassburger.tui4j.command.Option
- Option<T> - Class in org.strassburger.tui4j.command
- Option(String, String, Class<T>, T) - Constructor for class org.strassburger.tui4j.command.Option
- Option(String, T) - Constructor for class org.strassburger.tui4j.input.SelectInput.Option
-
Creates a new select option
- org.strassburger.tui4j.command - package org.strassburger.tui4j.command
- org.strassburger.tui4j.command.exceptions - package org.strassburger.tui4j.command.exceptions
- org.strassburger.tui4j.formatting - package org.strassburger.tui4j.formatting
- org.strassburger.tui4j.formatting.ansi - package org.strassburger.tui4j.formatting.ansi
- org.strassburger.tui4j.formatting.layout - package org.strassburger.tui4j.formatting.layout
- org.strassburger.tui4j.formatting.layout.table - package org.strassburger.tui4j.formatting.layout.table
- org.strassburger.tui4j.formatting.layout.table.styles - package org.strassburger.tui4j.formatting.layout.table.styles
- org.strassburger.tui4j.formatting.util - package org.strassburger.tui4j.formatting.util
- org.strassburger.tui4j.input - package org.strassburger.tui4j.input
- org.strassburger.tui4j.input.exceptions - package org.strassburger.tui4j.input.exceptions
- org.strassburger.tui4j.input.validationrules - package org.strassburger.tui4j.input.validationrules
- org.strassburger.tui4j.printer - package org.strassburger.tui4j.printer
- org.strassburger.tui4j.terminal - package org.strassburger.tui4j.terminal
P
- paddingLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- paddingLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- paddingLeft() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- paddingLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- paddingRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- paddingRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- paddingRight() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- paddingRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- parse(Command, String[]) - Static method in class org.strassburger.tui4j.command.CommandParser
- pastDate() - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is in the past.
- pastDate(String) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is in the past with a custom string error message.
- pastDate(StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.DateValidationRules
-
Returns a validation rule that checks if the date is in the past with a custom styled error message.
- PlainTextRenderer - Class in org.strassburger.tui4j.formatting
-
A StyledTextRenderer implementation that renders plain text without styles
- PlainTextRenderer() - Constructor for class org.strassburger.tui4j.formatting.PlainTextRenderer
- prepend(String) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Prepend a plain string to this StyledText
- prepend(String, Style) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Prepend a string with the given style to this StyledText
- prepend(StyledText) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Prepend another StyledText to this one
- print(char) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- print(char) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print a single character to the output
- print(String) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Print text to the console
- print(String) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- print(String) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print raw text to the output
- print(Renderable) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- print(Renderable) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print a renderable object to the output
- print(StyledText) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- print(StyledText) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print styled text to the output
- printCentered(String) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Print text to the console centered
- Printer - Class in org.strassburger.tui4j.formatting
-
Deprecated.Use
ConsolePrinterinstead - Printer - Interface in org.strassburger.tui4j.printer
-
An interface for printing text to various outputs
- Printer() - Constructor for class org.strassburger.tui4j.formatting.Printer
-
Deprecated.
- printf(String, Object...) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Format and print text to the console with a newline
- printf(String, Object...) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- printf(String, Object...) - Method in interface org.strassburger.tui4j.printer.Printer
-
Format and print text to the output
- printf(StyledText, Object...) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- printf(StyledText, Object...) - Method in interface org.strassburger.tui4j.printer.Printer
-
Format and print styled text to the output
- printfln(String, Object...) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Format and print text to the console with a newline
- printfln(String, Object...) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- printfln(String, Object...) - Method in interface org.strassburger.tui4j.printer.Printer
-
Format and print text to the output with a newline
- printfln(StyledText, Object...) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- printfln(StyledText, Object...) - Method in interface org.strassburger.tui4j.printer.Printer
-
Format and print styled text to the output with a newline
- println() - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- println() - Method in interface org.strassburger.tui4j.printer.Printer
-
Print a newline to the output
- println(char) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- println(char) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print a single character to the output with a newline
- println(String) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Print text to the console with a newline
- println(String) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- println(String) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print raw text to the output with a newline
- println(Renderable) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- println(Renderable) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print a renderable object to the output with a newline
- println(StyledText) - Method in class org.strassburger.tui4j.printer.ConsolePrinter
- println(StyledText) - Method in interface org.strassburger.tui4j.printer.Printer
-
Print styled text to the output with a newline
- printPromptAndCursor(boolean) - Method in class org.strassburger.tui4j.input.Input
- printSpaceBetween(String, String) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Print text to the console with a space between
- printSpaceBetween(String, String, String) - Static method in class org.strassburger.tui4j.formatting.Printer
-
Deprecated.Print text to the console with a space between
- ProgressBar - Class in org.strassburger.tui4j.formatting.layout
-
A terminal progress bar animation
- ProgressBar() - Constructor for class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Create a progress bar
- ProgressBar(StyledText) - Constructor for class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Create a progress bar with a custom message
- ProgressBarStyle - Class in org.strassburger.tui4j.formatting.layout
-
Style configuration for a progress bar (immutable)
- ProgressBarStyle.Builder - Class in org.strassburger.tui4j.formatting.layout
-
Builder for ProgressBarStyle
R
- read() - Method in class org.strassburger.tui4j.input.BooleanInput
- read() - Method in class org.strassburger.tui4j.input.ContinueInput
- read() - Method in class org.strassburger.tui4j.input.DateInput
- read() - Method in class org.strassburger.tui4j.input.DoubleInput
- read() - Method in class org.strassburger.tui4j.input.Input
-
Read the input value
- read() - Method in class org.strassburger.tui4j.input.IntegerInput
- read() - Method in class org.strassburger.tui4j.input.MultilineTextInput
- read() - Method in class org.strassburger.tui4j.input.NumberInput
- read() - Method in class org.strassburger.tui4j.input.SelectInput
- read() - Method in class org.strassburger.tui4j.input.TextInput
- RED - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- RED - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- regex(String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input matches a certain regex.
- regex(String, String) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input matches a certain regex with a custom string error message.
- regex(String, StyledText) - Static method in class org.strassburger.tui4j.input.validationrules.TextValidationRules
-
Returns a validation rule that checks if the input matches a certain regex with a custom error message.
- render(StyledText) - Method in class org.strassburger.tui4j.formatting.ansi.AnsiRenderer
-
Render the given StyledText to a string with ANSI escape codes
- render(StyledText) - Method in class org.strassburger.tui4j.formatting.PlainTextRenderer
-
Render the given StyledText to plain text (without styles)
- render(StyledText) - Method in interface org.strassburger.tui4j.formatting.StyledTextRenderer
-
Render the given StyledText to a string
- render(Printer, int, int) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- render(Printer, int, int) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Render the progress bar (initial print)
- render(Printer, int, int) - Method in interface org.strassburger.tui4j.formatting.layout.Renderable
-
Render the element using the given printer and dimensions
- render(Printer, int, int) - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Render the spinner (starts the spinner)
- render(Printer, int, int) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
- Renderable - Interface in org.strassburger.tui4j.formatting.layout
-
An interface for renderable layout elements
- repeat(int) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Repeat the entire StyledText a specified number of times
- replace(String, String) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Replace occurrences of a target string with a replacement string in all spans
- replaceBgHexCodes(String) - Static method in class org.strassburger.tui4j.formatting.util.ColorCodeReplacer
-
Deprecated.
- replaceHexCodes(String) - Static method in class org.strassburger.tui4j.formatting.util.ColorCodeReplacer
-
Deprecated.
- replacePrefabColorCodes(String) - Static method in class org.strassburger.tui4j.formatting.util.ColorCodeReplacer
-
Deprecated.
- RESET - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- RESET - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- RetryInputException - Exception in org.strassburger.tui4j.input.exceptions
- RetryInputException(String) - Constructor for exception org.strassburger.tui4j.input.exceptions.RetryInputException
- RetryInputException(StyledText) - Constructor for exception org.strassburger.tui4j.input.exceptions.RetryInputException
- reversed() - Method in class org.strassburger.tui4j.formatting.StyledText
-
Inverse the colors of the last span
- REVERSED - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- root() - Static method in class org.strassburger.tui4j.command.Command
-
Creates a root command with no name.
- run() - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
The spinner animation loop
S
- SelectInput<T> - Class in org.strassburger.tui4j.input
- SelectInput() - Constructor for class org.strassburger.tui4j.input.SelectInput
-
Deprecated.Use
SelectInput(Printer)instead - SelectInput(List<SelectInput.Option<T>>) - Constructor for class org.strassburger.tui4j.input.SelectInput
-
Deprecated.Use
SelectInput(Printer, List)instead - SelectInput(Printer) - Constructor for class org.strassburger.tui4j.input.SelectInput
- SelectInput(Printer, List<SelectInput.Option<T>>) - Constructor for class org.strassburger.tui4j.input.SelectInput
- SelectInput.Option<T> - Class in org.strassburger.tui4j.input
-
Represents a select option that can be selected by the user
- setAllowComma(boolean) - Method in class org.strassburger.tui4j.input.DoubleInput
-
Set whether the input should allow commas as decimal separators.
- setAllowComma(boolean) - Method in class org.strassburger.tui4j.input.NumberInput
-
Set whether to allow commas as decimal separators.
- setBarColor(Color) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Overwrite the color of the entire progress bar
- setColumnAlignment(int, ColumnAlign) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Sets the alignment for a specific column
- setColumnGrow(int, int) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Sets the grow factor for a specific column
- setCursor(StyledText) - Method in class org.strassburger.tui4j.input.Input
- setDateFormat(String) - Method in class org.strassburger.tui4j.input.DateInput
-
Set the date format for input validation
- setDefaultGrow(int) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Sets the default grow factor for all columns
- setEmptyChar(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
- setEndDelimiter(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
- setErrorMessage(String) - Method in class org.strassburger.tui4j.input.Input
-
Set the error message for invalid input
- setErrorMessage(StyledText) - Method in class org.strassburger.tui4j.input.Input
-
Set the error message for invalid input
- setFillChar(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
- setGap(int) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
-
Sets the fixed gap size between parts
- setHandler(CommandHandler) - Method in class org.strassburger.tui4j.command.Command
-
Sets the handler for this command.
- setHasHeader(boolean) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Sets whether the table has a header row
- setInline(boolean) - Method in class org.strassburger.tui4j.input.DateInput
- setInline(boolean) - Method in class org.strassburger.tui4j.input.DoubleInput
- setInline(boolean) - Method in class org.strassburger.tui4j.input.IntegerInput
- setInline(boolean) - Method in class org.strassburger.tui4j.input.NumberInput
-
Set whether to display the input prompt inline.
- setInline(boolean) - Method in class org.strassburger.tui4j.input.TextInput
-
Set whether the input should be inline or not.
- setJustify(FlexJustify) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
-
Sets the justification mode for arranging parts
- setLabel(String) - Method in class org.strassburger.tui4j.input.Input
-
Deprecated.Use
Input.setPrompt(String)instead - setLabel(StyledText) - Method in class org.strassburger.tui4j.input.Input
-
Deprecated.Use
Input.setPrompt(StyledText)instead - setMessage(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Set the message displayed next to the progress bar
- setMessage(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Update the message displayed next to the spinner
- setOptionsStyle(String) - Method in class org.strassburger.tui4j.input.SelectInput
-
Sets the style of the options
- setOptionsStyle(StyledText) - Method in class org.strassburger.tui4j.input.SelectInput
-
Sets the style of the options
- setParts(List<StyledText>) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
- setPointerChar(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
- setPrinter(Printer) - Method in class org.strassburger.tui4j.input.Input
- setProgress(int) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
-
Update the progress percentage.
- setPrompt(String) - Method in class org.strassburger.tui4j.input.Input
-
Set the label for the input
- setPrompt(StyledText) - Method in class org.strassburger.tui4j.input.Input
-
Set the label for the input
- setRetryOnInvalid(boolean) - Method in class org.strassburger.tui4j.input.Input
-
Set whether to retry on invalid input
- setRows(List<List<StyledText>>) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Sets the rows of the table
- setScanner(Scanner) - Method in class org.strassburger.tui4j.input.Input
- setSeparatorChar(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.FlexText
-
Sets the character(s) used for spacing between parts
- setSpeedMs(int) - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Set the speed of the spinner animation in milliseconds
- setSpinnerColor(Color) - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Set the color of the spinner
- setSpinnerFrames(List<StyledText>) - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Set the frames used for the spinner animation.
- setStartDelimiter(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle.Builder
- setStyle(ProgressBarStyle) - Method in class org.strassburger.tui4j.formatting.layout.ProgressBar
- setStyle(TableStyle) - Method in class org.strassburger.tui4j.formatting.layout.table.Table
-
Sets the style of the table
- Size(int, int) - Constructor for record class org.strassburger.tui4j.terminal.TerminalSize.Size
-
Creates an instance of a
Sizerecord class. - SLASHED - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- SMOOTH_BLOCKS - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- SPACE_AROUND - Enum constant in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
- SPACE_BETWEEN - Enum constant in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
- SPACE_EVENLY - Enum constant in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
- spaceBetween(String, String) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Add spaces between two texts
- spaceBetween(String, String, String) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Add spaces between two texts
- spaceBetween(String, String, String, int) - Static method in class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.Add spaces between two texts Add spaces between two texts
- Span - Class in org.strassburger.tui4j.formatting
-
A Span represents an immutable segment of text with an associated Style.
- Span(String, Style) - Constructor for class org.strassburger.tui4j.formatting.Span
- Spinner - Class in org.strassburger.tui4j.formatting.layout
-
A terminal spinner animation
- Spinner() - Constructor for class org.strassburger.tui4j.formatting.layout.Spinner
-
Create a new spinner with default settings
- Spinner(StyledText) - Constructor for class org.strassburger.tui4j.formatting.layout.Spinner
-
Create a spinner with a custom message
- SpinnerFrames - Class in org.strassburger.tui4j.formatting.layout
-
Predefined spinner frames for use with the
Spinnerclass. - SQUARES - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- STAR - Static variable in class org.strassburger.tui4j.formatting.layout.ProgressBarStyle
- START - Enum constant in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
- START - Enum constant in enum class org.strassburger.tui4j.formatting.layout.table.styles.ColumnAlign
- stop() - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Stop the spinner without printing a final message
- stop(StyledText) - Method in class org.strassburger.tui4j.formatting.layout.Spinner
-
Stop the spinner and print a final message
- str(String, boolean) - Static method in class org.strassburger.tui4j.command.Argument
-
Creates a string argument.
- str(String, String, String) - Static method in class org.strassburger.tui4j.command.Option
-
Creates a string option.
- STRIKETHROUGH - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- STRIKETHROUGH_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- stripAnsiCodes(String) - Static method in class org.strassburger.tui4j.formatting.util.TextCleaner
-
Deprecated.
- Style - Class in org.strassburger.tui4j.formatting
-
Represents text style attributes.
- Style() - Constructor for class org.strassburger.tui4j.formatting.Style
-
Default style
- Style(Style) - Constructor for class org.strassburger.tui4j.formatting.Style
-
Copy constructor
- StyledText - Class in org.strassburger.tui4j.formatting
-
Represents styled text composed of multiple spans, each with its own style.
- StyledTextRenderer - Interface in org.strassburger.tui4j.formatting
- substring(int, int) - Method in class org.strassburger.tui4j.formatting.StyledText
-
Get a substring of the entire StyledText
- SYNTHWAVE - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
T
- Table - Class in org.strassburger.tui4j.formatting.layout.table
-
A table layout component that arranges data in rows and columns with customizable styles and alignments.
- Table() - Constructor for class org.strassburger.tui4j.formatting.layout.table.Table
- TableStyle - Interface in org.strassburger.tui4j.formatting.layout.table.styles
-
Interface defining the style of a table, including border characters and layout options.
- TableStyles - Class in org.strassburger.tui4j.formatting.layout.table.styles
- TableStyles() - Constructor for class org.strassburger.tui4j.formatting.layout.table.styles.TableStyles
- teeBottom() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- teeBottom() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- teeBottom() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- teeBottom() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- teeLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- teeLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- teeLeft() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- teeLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- teeRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- teeRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- teeRight() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- teeRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- teeTop() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- teeTop() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- teeTop() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- teeTop() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- Terminal - Class in org.strassburger.tui4j.terminal
-
Represents a terminal and its properties.
- Terminal() - Constructor for class org.strassburger.tui4j.terminal.Terminal
- TerminalSize - Class in org.strassburger.tui4j.terminal
-
Utility class to get the terminal size.
- TerminalSize.Size - Record Class in org.strassburger.tui4j.terminal
-
Represents the size of a terminal in columns and rows.
- text(String) - Static method in class org.strassburger.tui4j.formatting.StyledText
-
Create a StyledText with a single span of plain text
- text(String, Style) - Static method in class org.strassburger.tui4j.formatting.StyledText
-
Create a StyledText with a single span of text and the given style
- TextCleaner - Class in org.strassburger.tui4j.formatting.util
-
Deprecated.
- TextCleaner() - Constructor for class org.strassburger.tui4j.formatting.util.TextCleaner
-
Deprecated.
- TextColor - Enum Class in org.strassburger.tui4j.formatting
-
Deprecated.Use the
AnsiCodeclass instead. - TextFormatter - Class in org.strassburger.tui4j.formatting
-
Deprecated.Use
StyledTextandPrinterinstead - TextFormatter() - Constructor for class org.strassburger.tui4j.formatting.TextFormatter
-
Deprecated.
- TextInput - Class in org.strassburger.tui4j.input
- TextInput() - Constructor for class org.strassburger.tui4j.input.TextInput
-
Deprecated.Use
TextInput(Printer)instead - TextInput(Printer) - Constructor for class org.strassburger.tui4j.input.TextInput
-
Reads a single line of text from the console.
- TextValidationRules - Class in org.strassburger.tui4j.input.validationrules
- TextValidationRules() - Constructor for class org.strassburger.tui4j.input.validationrules.TextValidationRules
- THROB - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
- toAnsi() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- toAnsiBackground() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- toAnsiCodes() - Method in class org.strassburger.tui4j.formatting.Style
-
Convert this style to ANSI escape codes
- toCssString() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- toHSL() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- toHSV() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- toLAB() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- TooManyArgumentsException - Exception in org.strassburger.tui4j.command.exceptions
- TooManyArgumentsException() - Constructor for exception org.strassburger.tui4j.command.exceptions.TooManyArgumentsException
- topLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- topLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- topLeft() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- topLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- topRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- topRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- topRight() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- topRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- toRGB() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
-
Converts this ANSI color to its RGB representation.
- toString() - Method in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- toString() - Method in class org.strassburger.tui4j.formatting.Span
- toString() - Method in class org.strassburger.tui4j.formatting.Style
- toString() - Method in class org.strassburger.tui4j.formatting.StyledText
- toString() - Method in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- toString() - Method in class org.strassburger.tui4j.terminal.Terminal
- toString() - Method in record class org.strassburger.tui4j.terminal.TerminalSize.Size
-
Returns a string representation of this record class.
- toXYZ() - Method in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- TRIANGLE - Static variable in class org.strassburger.tui4j.formatting.layout.SpinnerFrames
U
- underline() - Method in class org.strassburger.tui4j.formatting.Style
- underline() - Method in class org.strassburger.tui4j.formatting.StyledText
-
Make the last span italic
- UNDERLINE - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- UNDERLINE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- UNDERLINE_OFF - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
- UNICODE_BOX - Static variable in class org.strassburger.tui4j.formatting.layout.table.styles.TableStyles
- UnicodeBoxTableStyle - Class in org.strassburger.tui4j.formatting.layout.table.styles
- UnicodeBoxTableStyle() - Constructor for class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- UnknownOptionException - Exception in org.strassburger.tui4j.command.exceptions
- UnknownOptionException(String) - Constructor for exception org.strassburger.tui4j.command.exceptions.UnknownOptionException
- UnsupportedTypeException - Exception in org.strassburger.tui4j.command.exceptions
- UnsupportedTypeException(Class<?>) - Constructor for exception org.strassburger.tui4j.command.exceptions.UnsupportedTypeException
V
- validate(T) - Method in class org.strassburger.tui4j.input.Input
-
Validate the input value
- validate(T) - Method in interface org.strassburger.tui4j.input.validationrules.ValidationRule
- ValidationRule<T> - Interface in org.strassburger.tui4j.input.validationrules
- valueOf(String) - Static method in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.strassburger.tui4j.formatting.layout.table.styles.ColumnAlign
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.strassburger.tui4j.formatting.layout.FlexJustify
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.strassburger.tui4j.formatting.layout.table.styles.ColumnAlign
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- vertical() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- vertical() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- vertical() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for vertical borders between columns
- vertical() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- verticalLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- verticalLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- verticalLeft() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for the left vertical border
- verticalLeft() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- verticalRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.DefaultTableStyle
- verticalRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.LightTableStyle
- verticalRight() - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
-
Returns the character used for the right vertical border
- verticalRight() - Method in class org.strassburger.tui4j.formatting.layout.table.styles.UnicodeBoxTableStyle
- VT - Enum constant in enum class org.strassburger.tui4j.formatting.ansi.AnsiCode
W
- WHITE - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- WHITE - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
- width() - Method in record class org.strassburger.tui4j.terminal.TerminalSize.Size
-
Returns the value of the
widthrecord component. - withBorderColor(Color) - Method in class org.strassburger.tui4j.formatting.layout.table.styles.ColorableTableStyle
- withBorderColor(Color) - Method in interface org.strassburger.tui4j.formatting.layout.table.styles.TableStyle
- withStyle(Style) - Method in class org.strassburger.tui4j.formatting.Span
-
Create a new Span with the same text but a different style
Y
- YELLOW - Enum constant in enum class org.strassburger.tui4j.formatting.TextColor
-
Deprecated.
- YELLOW - Static variable in class org.strassburger.tui4j.formatting.ansi.AnsiColor
All Classes and Interfaces|All Packages|Serialized Form
BooleanInput(Printer)instead