/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.intuism.ui.autocorrection; import com.intuism.ui.form.text.caret.Caret; /** * The interface of classes which help a TextInputControl autocorrect its * contents as the user types. * * @author Randahl Fink Isaksen */ public interface Corrector { /** * Invoked by a TextInputControl after user input to ensure the contents * of the control are formatted correctly. * * @param caret A helper object through which the corrector may edit the * TextInputControl without having to manage caret movements. */ void correct(Caret caret); }