/trunk/src/org/tela_botanica/del/client/composants/fenetereoverlay/FenetreOverlayDefilanteVue.ui.xml |
---|
5,7 → 5,7 |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<g:VerticalPanel styleName="fenetreDefilante" ui:field="conteneurGlobal"> |
<g:HTMLPanel ui:field="overlay" /> |
<g:FocusPanel ui:field="overlay" /> |
<g:HorizontalPanel ui:field="conteneurOverlayContenu" styleName=""> |
<g:Button ui:field="boutonPrecedent" text="" /> |
<g:FocusPanel ui:field="overlayContenu" /> |
/trunk/src/org/tela_botanica/del/client/composants/fenetereoverlay/FenetreOverlayDefilantePresenteur.java |
---|
2,9 → 2,13 |
import org.tela_botanica.del.client.composants.presenteur.Presenteur; |
import com.google.gwt.event.dom.client.BlurEvent; |
import com.google.gwt.event.dom.client.BlurHandler; |
import com.google.gwt.event.dom.client.ClickEvent; |
import com.google.gwt.event.dom.client.ClickHandler; |
import com.google.gwt.event.dom.client.FocusEvent; |
import com.google.gwt.event.dom.client.FocusHandler; |
import com.google.gwt.event.dom.client.HasBlurHandlers; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
import com.google.gwt.event.dom.client.HasFocusHandlers; |
import com.google.gwt.event.dom.client.HasKeyDownHandlers; |
23,6 → 27,8 |
public interface Vue extends IsWidget { |
public HasKeyDownHandlers getConteneurGlobal(); |
public IsWidget getOverlay(); |
public void afficherBoutonsSuivantsPrecedents(boolean afficher); |
public HasClickHandlers getOverlayHasClickHandlers(); |
public HasVisibility getOverlayVisibility(); |
public IsWidget getOverlayContenu(); |
public HasVisibility getOverlayContenuVisibility(); |
38,7 → 44,6 |
public void surOuvertureFenetre(); |
public void surFermetureFenetre(); |
public void surSetContenuFenetre(); |
public void afficherBoutonsSuivantsPrecedents(boolean afficher); |
} |
private Vue vue; |
95,6 → 100,13 |
} |
} |
}); |
vue.getOverlayHasClickHandlers().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
fermerFenetreModale(); |
} |
}); |
} |
public void ouvrirFenetreModaleDefilante(int indexElementAffiche, Presenteur presenteurModal) { |
/trunk/src/org/tela_botanica/del/client/composants/fenetereoverlay/FenetreOverlayDefilanteVue.java |
---|
3,6 → 3,9 |
import org.tela_botanica.del.client.composants.fenetereoverlay.FenetreOverlayDefilantePresenteur.Vue; |
import com.google.gwt.core.client.GWT; |
import com.google.gwt.event.dom.client.HasBlurHandlers; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
import com.google.gwt.event.dom.client.HasFocusHandlers; |
import com.google.gwt.event.dom.client.HasKeyDownHandlers; |
import com.google.gwt.event.logical.shared.ResizeEvent; |
import com.google.gwt.event.logical.shared.ResizeHandler; |
32,7 → 35,7 |
VerticalPanel conteneurGlobal; |
@UiField |
HTMLPanel overlay; |
FocusPanel overlay; |
@UiField |
FocusPanel overlayContenu; |
53,7 → 56,7 |
private Timer timerPlacement = null; |
public HTMLPanel getOverlay() { |
public FocusPanel getOverlay() { |
return overlay; |
} |
60,6 → 63,11 |
public FocusPanel getOverlayContenu() { |
return overlayContenu; |
} |
@Override |
public HasClickHandlers getOverlayHasClickHandlers() { |
return overlayContenu; |
} |
public Button getBoutonFermer() { |
return boutonFermer; |