public class UISpellCheckListener
extends org.dts.spell.event.SpellCheckAdapter
| Constructor and Description |
|---|
UISpellCheckListener() |
UISpellCheckListener(JSpellDialog spellDialog)
Create a UISpellCheckListener that show a JSpellDialog for each error that was
found.
|
UISpellCheckListener(JSpellDialog spellDialog,
boolean disposeOnEnd) |
| Modifier and Type | Method and Description |
|---|---|
void |
badCaseError(org.dts.spell.event.SpellCheckEvent event) |
void |
beginChecking(org.dts.spell.event.SpellCheckEvent event) |
void |
endChecking(org.dts.spell.event.SpellCheckEvent event) |
JSpellDialog |
getSpellDialog() |
void |
initDialogPosition(JDialog dialog) |
boolean |
isDisposeDialog() |
void |
relocateDialog(Rectangle wordRect) |
void |
relocateDialog(Rectangle wordRect,
JDialog dialog)
Try to relocate the dialog to allow see the bad word.
|
void |
repeatWordError(org.dts.spell.event.SpellCheckEvent event) |
void |
setDisposeDialog(boolean dispose) |
void |
setSpellDialog(JSpellDialog spellDialog) |
void |
spellingError(org.dts.spell.event.SpellCheckEvent event) |
public UISpellCheckListener()
public UISpellCheckListener(JSpellDialog spellDialog)
spellDialog - The dialog to show it can be null.public UISpellCheckListener(JSpellDialog spellDialog, boolean disposeOnEnd)
public JSpellDialog getSpellDialog()
public void relocateDialog(Rectangle wordRect, JDialog dialog)
wordRect - public void initDialogPosition(JDialog dialog)
public void relocateDialog(Rectangle wordRect)
public void setSpellDialog(JSpellDialog spellDialog)
spellDialog - The spellDialog to set.public void beginChecking(org.dts.spell.event.SpellCheckEvent event)
beginChecking in interface org.dts.spell.event.SpellCheckListenerbeginChecking in class org.dts.spell.event.SpellCheckAdapterpublic void spellingError(org.dts.spell.event.SpellCheckEvent event)
spellingError in interface org.dts.spell.event.SpellCheckListenerspellingError in class org.dts.spell.event.SpellCheckAdapterpublic void badCaseError(org.dts.spell.event.SpellCheckEvent event)
badCaseError in interface org.dts.spell.event.SpellCheckListenerbadCaseError in class org.dts.spell.event.SpellCheckAdapterpublic void repeatWordError(org.dts.spell.event.SpellCheckEvent event)
repeatWordError in interface org.dts.spell.event.SpellCheckListenerrepeatWordError in class org.dts.spell.event.SpellCheckAdapterpublic void endChecking(org.dts.spell.event.SpellCheckEvent event)
endChecking in interface org.dts.spell.event.SpellCheckListenerendChecking in class org.dts.spell.event.SpellCheckAdapterpublic boolean isDisposeDialog()
public void setDisposeDialog(boolean dispose)
disposeOnEnd - the disposeOnEnd to setCopyright © 2020. All rights reserved.