Interface ComponentTooltipSuggestion
- All Superinterfaces:
Suggestion
-
Method Summary
Modifier and TypeMethodDescriptionsuggestion(@NonNull String suggestion) Returns a newComponentTooltipSuggestionwith no tooltip.suggestion(@NonNull String suggestion, @Nullable Component tooltip) Returns a newComponentTooltipSuggestionwith the provided tooltip.tooltip()Returns theComponenttooltip ornullif there is no tooltip.withSuggestion(@NonNull String suggestion)
-
Method Details
-
suggestion
- Specified by:
suggestionin interfaceSuggestion
-
tooltip
Returns theComponenttooltip ornullif there is no tooltip.- Returns:
- the tooltip
-
withSuggestion
- Specified by:
withSuggestionin interfaceSuggestion
-
suggestion
Returns a newComponentTooltipSuggestionwith no tooltip.- Parameters:
suggestion- suggestion- Returns:
- suggestion
-
suggestion
static @NonNull ComponentTooltipSuggestion suggestion(@NonNull String suggestion, @Nullable Component tooltip) Returns a newComponentTooltipSuggestionwith the provided tooltip.- Parameters:
suggestion- suggestiontooltip- tooltip- Returns:
- suggestion
-