ILanguageDriver.IAutoCorrection Interface
- public static interface ILanguageDriver.IAutoCorrection
IAutoCorrection objects are returned by the getAutoCorrection
method. A single
IAutoCorrection object is used to provide all corrections for a given source error.
-
Enclosing interface
-
ILanguageDriver
public boolean |
-
doCorrection (int item)
- Execute the correction chosen by the user.
|
public String [] |
-
getTipText ()
- Returns strings describing each of the possible corrections for a given source error.
|
doCorrection(int) Method
public boolean doCorrection(int item)
Execute the correction chosen by the user.
Parameters
-
item
- an index into the original array of choices returned from getTipText().
getTipText() Method
public String
[] getTipText()
Returns strings describing each of the possible corrections for a given source error. These strings will
be presented directly to the user, so they should be localized. Order is significant
because the index of the selected item will be passed to the doCorrection
method when
chosen by the user.