Uses of Interface
org.jline.prompt.ListBuilder
Packages that use ListBuilder
Package
Description
JLine Prompt API - Interactive Console Prompts for Java Applications.
Implementation classes for the JLine Prompt API.
-
Uses of ListBuilder in org.jline.prompt
Methods in org.jline.prompt that return ListBuilderModifier and TypeMethodDescriptionListBuilder.add()Add the current item to the list.default ListBuilderConvenience method to add a simple list item with name and text.default ListBuilderConvenience method to add a simple list item with name, text, and disabled state.default ListBuilderConvenience method to add a simple list item with name, text, disabled state, and disabled text.ListSeparatorBuilder.add()Add the separator to the list prompt and return to the list builder.PromptBuilder.createListPrompt()Create a builder for list prompts.ListBuilder.disabled(boolean disabled) Set whether the current item is disabled.ListBuilder.disabledText(String disabledText) Set the disabled text for the current item.ListBuilder.filterable(boolean filterable) Set whether the list supports inline text filtering.default ListBuilderSet the footer text for the current item.Create a new item with the given ID.ListBuilder.pageSize(int pageSize) Set the page size for pagination.ListBuilder.showPageIndicator(boolean showPageIndicator) Set whether to show page indicators.Set the text for the current item. -
Uses of ListBuilder in org.jline.prompt.impl
Classes in org.jline.prompt.impl that implement ListBuilderMethods in org.jline.prompt.impl that return ListBuilderModifier and TypeMethodDescriptionDefaultListBuilder.add()Add the current item to the list.DefaultListSeparatorBuilder.add()DefaultPromptBuilder.createListPrompt()DefaultListBuilder.disabled(boolean disabled) Set whether the current item is disabled.DefaultListBuilder.disabledText(String disabledText) Set the disabled text for the current item.DefaultListBuilder.filterable(boolean filterable) Set the message to display to the user.Set the name of this prompt.Create a new item with the given ID.DefaultListBuilder.pageSize(int pageSize) DefaultListBuilder.showPageIndicator(boolean showPageIndicator) Set the text for the current item.DefaultListBuilder.transformer(Function<String, String> transformer)