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 a string that represents the misspelled word under the cursor, if any.
  • Method Details

    • misspelledWord

      default String misspelledWord()
      Returns a string that represents the misspelled word under the cursor, if any.
    • 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.