Interface SpellCheckMenu


public interface SpellCheckMenu
A spell check menu in the context menu.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a string that represents the localized text of the "Add to Dictionary" menu item.
    default List<String>
    Returns an immutable list of suggested replacements for a misspelled word under the cursor or an empty list if there are no suggestions.
    default String
    Returns the misspelled word under the cursor, or an empty string if none is present.
  • Method Details

    • misspelledWord

      default String misspelledWord()
      Returns the misspelled word under the cursor, or an empty string if none is present.
    • dictionarySuggestions

      default List<String> dictionarySuggestions()
      Returns an immutable list of suggested replacements for a misspelled word under the cursor or an empty list if there are no suggestions.
    • addToDictionaryMenuItemText

      default String addToDictionaryMenuItemText()
      Returns a string that represents the localized text of the "Add to Dictionary" menu item.