Class Suggestion
java.lang.Object
io.jmix.ui.widget.addon.aceeditor.Suggestion
A single suggestion.
Feel free to subclass.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSuggestion
(String displayText, String descriptionText) Suggestion
(String displayText, String descriptionText, String suggestionText) If suggestionText is "cat", the suggestion popup will stay there if user types "c" "ca" or "cat".Suggestion
(String displayText, String descriptionText, String suggestionText, int startPosition, int endPosition) -
Method Summary
-
Field Details
-
displayText
-
descriptionText
-
suggestionText
-
startPosition
protected final int startPosition -
endPosition
protected final int endPosition
-
-
Constructor Details
-
Suggestion
- Parameters:
displayText
- the text shown in the popup listdescriptionText
- a longer description
-
Suggestion
If suggestionText is "cat", the suggestion popup will stay there if user types "c" "ca" or "cat".- Parameters:
displayText
- the text shown in the popup listdescriptionText
- a longer descriptionsuggestionText
-
-
Suggestion
-
-
Method Details
-
asTransport
-
getDisplayText
-
getDescriptionText
-
getSuggestionText
-
getStartPosition
public int getStartPosition() -
getEndPosition
public int getEndPosition()
-