Package org.jline.widget
Class AutosuggestionWidgets
java.lang.Object
org.jline.widget.Widgets
org.jline.widget.AutosuggestionWidgets
Creates and manages widgets for as you type command line suggestions.
Suggestions are created using a using command history.
- Author:
- Matti Rinta-Nikkola
-
Field Summary
Fields inherited from class org.jline.widget.Widgets
AP_BACKWARD_DELETE_CHAR, AP_INSERT, AUTOPAIR_TOGGLE, AUTOSUGGEST_TOGGLE, reader, TAILTIP_PANE, TAILTIP_TOGGLE, TT_ACCEPT_LINE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jline.widget.Widgets
addWidget, aliasWidget, args, buffer, callWidget, clearDescription, clearTailTip, currChar, destroyDescription, executeWidget, existsWidget, getKeyMap, getWidget, lastBinding, parser, prevChar, putString, replaceBuffer, setDescription, setErrorIndex, setErrorPattern, setSuggestionType, setTailTip, tailTip
-
Constructor Details
-
AutosuggestionWidgets
-
-
Method Details
-
disable
public void disable() -
enable
public void enable() -
partialAccept
public boolean partialAccept() -
autosuggestForwardChar
public boolean autosuggestForwardChar() -
autosuggestEndOfLine
public boolean autosuggestEndOfLine() -
toggleKeyBindings
public boolean toggleKeyBindings()
-