Uses of Interface
org.jline.prompt.ListBuilder
-
Packages that use ListBuilder Package Description org.jline.prompt JLine Prompt API - Interactive Console Prompts for Java Applications.org.jline.prompt.impl Implementation classes for the JLine Prompt API. -
-
Uses of ListBuilder in org.jline.prompt
Methods in org.jline.prompt that return ListBuilder Modifier and Type Method Description ListBuilderListBuilder. add()Add the current item to the list.default ListBuilderListBuilder. add(java.lang.String name, java.lang.String text)Convenience method to add a simple list item with name and text.default ListBuilderListBuilder. add(java.lang.String name, java.lang.String text, boolean disabled)Convenience method to add a simple list item with name, text, and disabled state.default ListBuilderListBuilder. add(java.lang.String name, java.lang.String text, boolean disabled, java.lang.String disabledText)Convenience method to add a simple list item with name, text, disabled state, and disabled text.ListBuilderListSeparatorBuilder. add()Add the separator to the list prompt and return to the list builder.ListBuilderPromptBuilder. createListPrompt()Create a builder for list prompts.ListBuilderListBuilder. disabled(boolean disabled)Set whether the current item is disabled.ListBuilderListBuilder. disabledText(java.lang.String disabledText)Set the disabled text for the current item.ListBuilderListBuilder. filterable(boolean filterable)Set whether the list supports inline text filtering.default ListBuilderListBuilder. footer(java.lang.String footer)Set the footer text for the current item.ListBuilderListBuilder. newItem(java.lang.String id)Create a new item with the given ID.ListBuilderListBuilder. pageSize(int pageSize)Set the page size for pagination.ListBuilderListBuilder. showPageIndicator(boolean showPageIndicator)Set whether to show page indicators.ListBuilderListBuilder. text(java.lang.String text)Set the text for the current item. -
Uses of ListBuilder in org.jline.prompt.impl
Classes in org.jline.prompt.impl that implement ListBuilder Modifier and Type Class Description classDefaultListBuilderDefault implementation of ListBuilder.Methods in org.jline.prompt.impl that return ListBuilder Modifier and Type Method Description ListBuilderDefaultListBuilder. add()Add the current item to the list.ListBuilderDefaultListSeparatorBuilder. add()ListBuilderDefaultPromptBuilder. createListPrompt()ListBuilderDefaultListBuilder. disabled(boolean disabled)Set whether the current item is disabled.ListBuilderDefaultListBuilder. disabledText(java.lang.String disabledText)Set the disabled text for the current item.ListBuilderDefaultListBuilder. filter(java.util.function.Function<java.lang.String,java.lang.String> filter)ListBuilderDefaultListBuilder. filterable(boolean filterable)ListBuilderDefaultListBuilder. footer(java.lang.String footer)ListBuilderDefaultListBuilder. message(java.lang.String message)Set the message to display to the user.ListBuilderDefaultListBuilder. name(java.lang.String name)Set the name of this prompt.ListBuilderDefaultListBuilder. newItem(java.lang.String id)Create a new item with the given ID.ListBuilderDefaultListBuilder. pageSize(int pageSize)ListBuilderDefaultListBuilder. showPageIndicator(boolean showPageIndicator)ListBuilderDefaultListBuilder. text(java.lang.String text)Set the text for the current item.ListBuilderDefaultListBuilder. transformer(java.util.function.Function<java.lang.String,java.lang.String> transformer)
-