76,6 → 76,19 |
public void focusSaisie(); |
|
public void nettoyer(); |
|
public HasKeyPressHandlers getChampsFamille(); |
|
public HasKeyPressHandlers getChampsGenre(); |
|
public HasKeyPressHandlers getChampsTag(); |
|
public HasKeyPressHandlers getChampsMotCle(); |
|
public HasKeyPressHandlers getChampsAuteur(); |
|
public HasKeyPressHandlers getChampsDate(); |
|
} |
|
private Vue vue; |
112,10 → 125,6 |
gererEvenements(); |
} |
|
private Vue getVue() { |
return vue; |
} |
|
public ModeRecherche getMode() { |
return modeRecherche; |
} |
249,8 → 258,33 |
} |
} |
}); |
|
vue.getChampsAuteur().addKeyPressHandler(createKeyboardAdvancedSearchHandler()); |
|
vue.getChampsDate().addKeyPressHandler(createKeyboardAdvancedSearchHandler()); |
|
vue.getChampsFamille().addKeyPressHandler(createKeyboardAdvancedSearchHandler()); |
|
vue.getChampsGenre().addKeyPressHandler(createKeyboardAdvancedSearchHandler()); |
|
vue.getChampsMotCle().addKeyPressHandler(createKeyboardAdvancedSearchHandler()); |
|
vue.getChampsTag().addKeyPressHandler(createKeyboardAdvancedSearchHandler()); |
|
} |
|
public KeyPressHandler createKeyboardAdvancedSearchHandler() { |
return new KeyPressHandler() { |
public void onKeyPress(KeyPressEvent event) { |
if (event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER) { |
vue.basculerAffichageZoneCache(); |
collecterInfosRecherche(); |
afficherRequeteEtLancerRecherche(); |
} |
} |
}; |
} |
|
private void nettoyerChamps() { |
completionCommunesPresenteur.nettoyer(); |
completionTaxonsPresenteur.nettoyer(); |
272,7 → 306,6 |
informationRecherche.setDate(vue.getDate()); |
} |
|
|
if (estPourRechercheImages()) { |
CacheClient.getInstance().setPageCouranteRechercheImages(1); |
CacheClient.getInstance().setInformationsRechercheImage(informationRecherche); |