Subversion Repositories eFlore/Applications.del

Rev

Rev 210 | 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 ValidateurChampTexteAbstrait extends ValidateurFormulaireAbstrait {

        private TextBox textBox;
        protected String styleErreur = "erreurFormTexte";

        public ValidateurChampTexteAbstrait(TextBox textBox) {
                this.textBox = textBox;
        }
        
        public ValidateurChampTexteAbstrait(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;
        }

}