Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1239 Rev 1539
Line 4... Line 4...
4
 
4
 
5
import com.google.gwt.core.client.GWT;
5
import com.google.gwt.core.client.GWT;
6
import com.google.gwt.event.dom.client.HasClickHandlers;
6
import com.google.gwt.event.dom.client.HasClickHandlers;
7
import com.google.gwt.uibinder.client.UiBinder;
7
import com.google.gwt.uibinder.client.UiBinder;
-
 
8
import com.google.gwt.uibinder.client.UiField;
8
import com.google.gwt.uibinder.client.UiField;
9
import com.google.gwt.user.client.Window;
9
import com.google.gwt.user.client.ui.CheckBox;
10
import com.google.gwt.user.client.ui.CheckBox;
10
import com.google.gwt.user.client.ui.Composite;
11
import com.google.gwt.user.client.ui.Composite;
11
import com.google.gwt.user.client.ui.FocusPanel;
12
import com.google.gwt.user.client.ui.FocusPanel;
12
import com.google.gwt.user.client.ui.Image;
13
import com.google.gwt.user.client.ui.Image;
Line 43... Line 44...
43
	}
44
	}
Line 44... Line 45...
44
	
45
	
45
	public void toggleCb() {
46
	public void toggleCb() {
46
		boolean val = ajouterMotCle.getValue();
47
		boolean val = ajouterMotCle.getValue();
-
 
48
		ajouterMotCle.setValue(!ajouterMotCle.getValue());
-
 
49
		if(ajouterMotCle.getValue()) {
-
 
50
			addStyleName("motClePictoCoche");
-
 
51
		} else {
-
 
52
			removeStyleName("motClePictoCoche");
47
		ajouterMotCle.setValue(!ajouterMotCle.getValue());
53
		}
Line 48... Line 54...
48
	}
54
	}
49
	
55
	
50
	public boolean estAAjouter() {
56
	public boolean estAAjouter() {
Line 51... Line 57...
51
		return ajouterMotCle.getValue();
57
		return ajouterMotCle.getValue();
52
	}
58
	}
-
 
59
	
53
	
60
	public void setEstAAjouter() {
Line 54... Line 61...
54
	public void setEstAAjouter() {
61
		ajouterMotCle.setValue(true);
55
		ajouterMotCle.setValue(true);
62
		addStyleName("motClePictoCoche");
56
	}
63
	}