Subversion Repositories eFlore/Applications.del

Rev

Rev 101 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 101 Rev 109
Line 4... Line 4...
4
import com.google.gwt.user.client.ui.TextBox;
4
import com.google.gwt.user.client.ui.TextBox;
Line 5... Line 5...
5
 
5
 
Line 6... Line 6...
6
public abstract class AbstractTextFieldValidator extends AbstractFormValidator{
6
public abstract class AbstractTextFieldValidator extends AbstractFormValidator{
-
 
7
 
Line 7... Line -...
7
 
-
 
8
	private TextBox textBox;
-
 
9
 
-
 
10
	private HTML sideHTML;
-
 
11
 
-
 
12
	public HTML getSideHTML() {
-
 
13
		return sideHTML;
8
	private TextBox textBox;
14
	}
9
	protected String styleErreur = "erreurFormTexte";
15
 
10
 
16
	public void setSideHTML(HTML sideHTML) {
11
	public AbstractTextFieldValidator(TextBox textBox) {
17
		this.sideHTML = sideHTML;
12
		this.textBox = textBox;
18
	}
13
	}
19
 
14
	
20
	public AbstractTextFieldValidator(TextBox textBox, HTML sideHTML) {
15
	public AbstractTextFieldValidator(TextBox textBox, String styleErreur) {
Line 21... Line -...
21
		this.textBox = textBox;
-
 
22
		this.sideHTML = sideHTML;
16
		this.textBox = textBox;
23
	}
17
		this.styleErreur = styleErreur;
24
 
18
	}
Line 25... Line 19...
25
	
19
 
26
	public TextBox getTextBox() {
20
	public TextBox getTextBox() {
27
		return textBox;
21
		return textBox;
-
 
22
	}
-
 
23
 
-
 
24
	public void setTextBox(TextBox textBox) {
-
 
25
		this.textBox = textBox;
-
 
26
	}
-
 
27
	
-
 
28
	public String getStyleErreur() {
-
 
29
		return styleErreur;
Line 28... Line 30...
28
	}
30
	}