java.util.EventListener, SpellCheckListenerUIErrorMarkerListenerpublic class UISpellCheckListener extends SpellCheckAdapter
| Constructor | Description |
|---|---|
UISpellCheckListener() |
|
UISpellCheckListener(JSpellDialog spellDialog) |
Create a UISpellCheckListener that show a JSpellDialog for each error that was
found.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
badCaseError(SpellCheckEvent event) |
Se ha dectectado un error en el uso de maybad_char_replacedsculas/minbad_char_replacedsculas, por ejemplo
porque la palabra estbad_char_replaced al principio de la frase y debe de ir en maybad_char_replacedsculas.
|
void |
beginChecking(SpellCheckEvent event) |
Se llama cuando se empieza a realizar una correccibad_char_replacedn ortogrbad_char_replacedfica.
|
JSpellDialog |
getSpellDialog() |
|
void |
repeatWordError(SpellCheckEvent event) |
Se ha dectectado un error, al tener dos palabras iguales seguidas.
|
void |
setSpellDialog(JSpellDialog spellDialog) |
|
void |
spellingError(SpellCheckEvent event) |
Se llama cuando se ha detectado un error en la correccibad_char_replacedn ortogrbad_char_replacedfica.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendCheckingpublic UISpellCheckListener()
public UISpellCheckListener(JSpellDialog spellDialog)
spellDialog - The dialog to show it can be null.public JSpellDialog getSpellDialog()
public void setSpellDialog(JSpellDialog spellDialog)
spellDialog - The spellDialog to set.public void beginChecking(SpellCheckEvent event)
SpellCheckListenerSpellCheckEvent.cancel()beginChecking in interface SpellCheckListenerbeginChecking in class SpellCheckAdapterpublic void spellingError(SpellCheckEvent event)
SpellCheckListenerSpellCheckEvent.cancel()spellingError in interface SpellCheckListenerspellingError in class SpellCheckAdapterpublic void badCaseError(SpellCheckEvent event)
SpellCheckListenerbadCaseError in interface SpellCheckListenerbadCaseError in class SpellCheckAdapterpublic void repeatWordError(SpellCheckEvent event)
SpellCheckListenerrepeatWordError in interface SpellCheckListenerrepeatWordError in class SpellCheckAdapter