Rev 109 | Rev 228 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.composants.validation;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.TextBox;
public abstract class AbstractTextFieldValidator extends AbstractFormValidator{
private TextBox textBox;
protected String styleErreur = "erreurFormTexte";
public AbstractTextFieldValidator(TextBox textBox) {
this.textBox = textBox;
}
public AbstractTextFieldValidator(TextBox textBox, String styleErreur) {
this.textBox = textBox;
this.styleErreur = styleErreur;
}
public TextBox getTextBox() {
return textBox;
}
public void setTextBox(TextBox textBox) {
this.textBox = textBox;
}
public String getStyleErreur() {
return styleErreur;
}
public void setStyleErreur(String styleErreur) {
this.styleErreur = styleErreur;
}
}