public static class EditorPopups.SpellCheckerPopup extends java.lang.Object implements IPopupMenuConstructor
Modifier and Type | Field and Description |
---|---|
protected EditorController |
ec |
Constructor and Description |
---|
SpellCheckerPopup(EditorController ec) |
Modifier and Type | Method and Description |
---|---|
protected void |
addIgnoreWord(java.lang.String word,
int offset,
boolean add)
add a new word to the spell checker or ignore a word
|
void |
addItems(javax.swing.JPopupMenu menu,
javax.swing.text.JTextComponent comp,
int mousepos,
boolean isInActiveEntry,
boolean isInActiveTranslation,
SegmentBuilder sb) |
protected final EditorController ec
public SpellCheckerPopup(EditorController ec)
public void addItems(javax.swing.JPopupMenu menu, javax.swing.text.JTextComponent comp, int mousepos, boolean isInActiveEntry, boolean isInActiveTranslation, SegmentBuilder sb)
addItems
in interface IPopupMenuConstructor
protected void addIgnoreWord(java.lang.String word, int offset, boolean add)
word
- : the word in questionoffset
- : the offset of the word in the editoradd
- : true for add, false for ignore