Subversion Repositories eFlore/Applications.del

Rev

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

Rev 450 Rev 457
Line 1... Line 1...
1
package org.tela_botanica.del.client.composants.formulaires;
1
package org.tela_botanica.del.client.composants.formulaires;
Line 2... Line 2...
2
 
2
 
-
 
3
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
3
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
4
import com.google.gwt.event.logical.shared.HasSelectionHandlers;
4
import com.google.gwt.user.client.ui.HasWidgets;
5
import com.google.gwt.user.client.ui.HasWidgets;
5
import com.google.gwt.user.client.ui.LayoutPanel;
6
import com.google.gwt.user.client.ui.LayoutPanel;
6
import com.google.gwt.user.client.ui.MultiWordSuggestOracle;
7
import com.google.gwt.user.client.ui.MultiWordSuggestOracle;
7
import com.google.gwt.user.client.ui.SuggestBox;
8
import com.google.gwt.user.client.ui.SuggestBox;
-
 
9
import com.google.gwt.user.client.ui.SuggestOracle;
-
 
10
import com.google.gwt.user.client.ui.SuggestOracle.Suggestion;
Line 8... Line 11...
8
import com.google.gwt.user.client.ui.SuggestOracle;
11
import com.google.gwt.view.client.SelectionChangeEvent.HasSelectionChangedHandlers;
Line 9... Line 12...
9
 
12
 
10
public class AutoCompletionComboBoxVue extends LayoutPanel implements AutoCompletionComboBoxPresenteur.Vue {
13
public class AutoCompletionComboBoxVue extends LayoutPanel implements AutoCompletionComboBoxPresenteur.Vue {
Line 44... Line 47...
44
	public void nettoyer() {
47
	public void nettoyer() {
45
		suggestions.setText("");
48
		suggestions.setText("");
46
	}
49
	}
Line 47... Line 50...
47
	
50
	
48
	public void setValeur(String taxon) {
51
	public void setValeur(String taxon) {
49
		suggestions.setText(taxon);
52
		suggestions.setValue(taxon);
Line 50... Line 53...
50
	}
53
	}
51
 
54
 
52
	@Override
55
	@Override
53
	public HasKeyPressHandlers getSuggestBoxHasKeyPressHandlers() {
56
	public HasKeyPressHandlers getSuggestBoxHasKeyPressHandlers() {
-
 
57
		return suggestions;
-
 
58
	}
-
 
59
	
-
 
60
	@Override
-
 
61
	public HasSelectionHandlers<Suggestion> getSuggestBoxHasSelectionChangeHandlers() {
Line 54... Line 62...
54
		return suggestions;
62
		return suggestions;
55
	}
63
	}
56
 
64
 
57
	@Override
65
	@Override