Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: linguistic2 ::
constants group SpellFailure
Description these define the various return types for spellchecking to fail verification. A value of this type is part of the XSpellAlternatives interface which is the return type for an unsuccessfull spelling attempt. See also unknown ? XSpellChecker

Constants
IS_NEGATIVE_WORD | The word is a negative one, that is, it should not be used.
CAPTION_ERROR | The capitalization of the word is wrong.
SPELLING_ERROR | The spelling of the word is wrong (or at least not known to be correct).

Constants' Details
IS_NEGATIVE_WORD
const short IS_NEGATIVE_WORD = 2; Description The word is a negative one, that is, it should not be used.
CAPTION_ERROR
const short CAPTION_ERROR = 3; Description The capitalization of the word is wrong.
SPELLING_ERROR
const short SPELLING_ERROR = 4; Description The spelling of the word is wrong (or at least not known to be correct).

Top of Page

Copyright © 2003 Sun Microsystems, Inc.