Class Suggestion
java.lang.Object
io.jmix.flowui.kit.component.codeeditor.autocomplete.Suggestion
- All Implemented Interfaces:
Serializable
Class for single suggestion from
Suggester for JmixCodeEditor component.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSuggestion(String displayText, String suggestionText) Suggestion(String displayText, String suggestionText, String descriptionText) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
displayText
-
suggestionText
-
descriptionText
-
-
Constructor Details
-
Suggestion
- Parameters:
displayText- text displayed in the popup window for suggestionssuggestionText- the value inserted into the editor if the suggestion is selected
-
Suggestion
- Parameters:
displayText- text displayed in the popup window for suggestionssuggestionText- the value inserted into the editor if the suggestion is selecteddescriptionText- the hint text that appears next to thedisplayTextin the popup window for suggestions
-
-
Method Details
-
getDisplayText
- Returns:
- text displayed in the popup window for suggestions
-
getSuggestionText
- Returns:
- the value inserted into the editor if the suggestion is selected
-
getDescriptionText
- Returns:
- the hint text that appears next to the
displayTextin the popup window for suggestions
-