public class ErrorPopUpMenu extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorPopUpMenu.PopupMenuInfo |
protected static class |
ErrorPopUpMenu.SeparatorSpellErrorMenuItem |
protected static interface |
ErrorPopUpMenu.SpellErrorMenuItem |
protected class |
ErrorPopUpMenu.SpellMenutItem |
| Constructor and Description |
|---|
ErrorPopUpMenu(JTextComponentSpellChecker textComponentSpellChecker)
Creates a new instance of ErrorPopUpMenu
|
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorMarker(ErrorMarker errorMarker) |
protected static JPopupMenu |
cleanErrorPopupMenu(JPopupMenu menu) |
protected static JPopupMenu |
cleanErrorPopupMenu(JTextComponent textComponent) |
protected void |
deleteErrorPopupMenuItems(JPopupMenu menu)
This is the function to override to delete menu items.
|
protected Action |
getAddWordAction(org.dts.spell.ErrorInfo info) |
protected Action |
getDeleteWordAction(org.dts.spell.ErrorInfo info) |
protected JPopupMenu |
getErrorPopupMenu(org.dts.spell.ErrorInfo info,
JTextComponent textComponent) |
protected Action |
getIgnoreWordAction(org.dts.spell.ErrorInfo info) |
ErrorPopUpMenu.PopupMenuInfo |
getPopupMenuInfo(JPopupMenu popup) |
protected Action |
getReplaceWordAction(org.dts.spell.ErrorInfo info,
String suggestion) |
protected JTextComponentSpellChecker |
getTextComponentSpellChecker() |
protected JPopupMenu |
mergeWithErrorPopupMenu(org.dts.spell.ErrorInfo info,
JTextComponent textComponent) |
protected void |
mergeWithErrorPopupMenu(ErrorMarker marker,
int position) |
protected void |
mergeWithErrorPopupMenuItems(JPopupMenu popup)
This is the function to override to personalize the menu items.
|
void |
removeErrorMarker(ErrorMarker errorMarker) |
protected ErrorInfoAction |
setupErrorInfoAction(ErrorInfoAction action,
org.dts.spell.ErrorInfo info) |
public ErrorPopUpMenu(JTextComponentSpellChecker textComponentSpellChecker)
protected JTextComponentSpellChecker getTextComponentSpellChecker()
public void addErrorMarker(ErrorMarker errorMarker)
public void removeErrorMarker(ErrorMarker errorMarker)
public ErrorPopUpMenu.PopupMenuInfo getPopupMenuInfo(JPopupMenu popup)
protected void mergeWithErrorPopupMenuItems(JPopupMenu popup)
protected void deleteErrorPopupMenuItems(JPopupMenu menu)
protected void mergeWithErrorPopupMenu(ErrorMarker marker, int position)
protected JPopupMenu getErrorPopupMenu(org.dts.spell.ErrorInfo info, JTextComponent textComponent)
protected ErrorInfoAction setupErrorInfoAction(ErrorInfoAction action, org.dts.spell.ErrorInfo info)
protected Action getDeleteWordAction(org.dts.spell.ErrorInfo info)
protected Action getReplaceWordAction(org.dts.spell.ErrorInfo info, String suggestion)
protected Action getAddWordAction(org.dts.spell.ErrorInfo info)
protected Action getIgnoreWordAction(org.dts.spell.ErrorInfo info)
protected JPopupMenu mergeWithErrorPopupMenu(org.dts.spell.ErrorInfo info, JTextComponent textComponent)
protected static JPopupMenu cleanErrorPopupMenu(JTextComponent textComponent)
protected static JPopupMenu cleanErrorPopupMenu(JPopupMenu menu)
Copyright © 2020. All rights reserved.