Subversion Repositories eFlore/Applications.del

Rev

Rev 228 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 228 Rev 305
Line 13... Line 13...
13
 
13
 
14
	@Override
14
	@Override
15
	public boolean valider() {
15
	public boolean valider() {
16
		try {
16
		try {
17
			Float.parseFloat(getTextBox().getText());
17
			Float.parseFloat(getTextBox().getText());
18
			getTextBox().removeStyleName(getStyleErreur());
18
			supprimerStyleErreur(getStyleErreur());
19
			return true;
19
			return true;
20
		} catch (Exception e) {
20
		} catch (Exception e) {
21
			getTextBox().addStyleName(getStyleErreur());
21
			afficherStyleErreur(getStyleErreur());
22
			return false;
22
			return false;
23
		}
23
		}
Line 24... Line 24...
24
	}
24
	}