Packagecom.adobe.linguistics.spelling.framework
Classpublic class SpellingConfiguration
InheritanceSpellingConfiguration Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

The SpellingConfiguration is for setting and getting the configuration for the spell checker.



Public Properties
 PropertyDefined By
  enableDictionarySplit : Boolean
[static] This is a flag that enables/disables loading of dictionary in splits.
SpellingConfiguration
  resourceTable : ResourceTable
[static] The resourceTable is used for mapping the language to resources.
SpellingConfiguration
  wordsPerDictionarySplit : int
[static] This property defines the number of words in one dictionary split.
SpellingConfiguration
Property Detail
enableDictionarySplitproperty
enableDictionarySplit:Boolean

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

This is a flag that enables/disables loading of dictionary in splits. By default this flag is set to false. In case the initial loading time of dictionaries is found slow, this flag should be set to true. By enabling this, squiggly will load dictionary in splits with each split having wordsPerDictionarySplit number of words.

NOTE: This property, if used, should be set before calling SpellUI.enableSpeliing. Once SpellUI.enableSpeliing is called dictionaries will be loaded according to default values, and this property will not be used.


Implementation
    public static function get enableDictionarySplit():Boolean
    public static function set enableDictionarySplit(value:Boolean):void
resourceTableproperty 
resourceTable:ResourceTable

The resourceTable is used for mapping the language to resources.


Implementation
    public static function get resourceTable():ResourceTable
    public static function set resourceTable(value:ResourceTable):void
wordsPerDictionarySplitproperty 
wordsPerDictionarySplit:int

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

This property defines the number of words in one dictionary split. By default the value of this property is set to 20000 words. This property is used only if enableDictionarySplit is set to true. If enableDictionarySplit is set to flase this property turns void.

NOTE: This property, if used, should be defined before calling SpellUI.enableSpeliing. Once SpellUI.enableSpeliing is called dictionaries will be loaded according to default values, and this property will not be used.


Implementation
    public static function get wordsPerDictionarySplit():int
    public static function set wordsPerDictionarySplit(value:int):void