Package org.jline.widget
JLine Widget package provides a framework for creating and managing widgets for JLine's LineReader.
This package contains classes for:
- Creating custom widgets that can be bound to key sequences
- Managing widget state and behavior
- Interacting with the LineReader's buffer and terminal
- Implementing specialized widgets for auto-completion, auto-suggestion, and more
Key components include:
Widgets
- Base class for creating custom widgetsAutopairWidgets
- Widgets for auto-pairing brackets and quotesAutosuggestionWidgets
- Widgets for auto-suggestion functionalityTailTipWidgets
- Widgets for displaying command hints in the terminal
Widgets are reusable components that can be bound to key sequences and provide specific functionality when invoked. They can be used to enhance the functionality of the LineReader with features like auto-completion, auto-suggestion, and command hints.
-
Class Summary Class Description AutopairWidgets Creates and manages widgets that intelligently handle matching delimiters in the console.AutosuggestionWidgets Creates and manages widgets for as-you-type command line suggestions based on command history.TailTipWidgets Creates and manages widgets for as-you-type command line suggestions.Widgets Base class for creating custom widgets for JLine's LineReader. -
Enum Summary Enum Description TailTipWidgets.TipType Enumeration specifying the type of suggestions to display.