Line 1... |
Line 1... |
1 |
package org.tela_botanica.del.client.composants.fenetreoverlay;
|
1 |
package org.tela_botanica.del.client.composants.fenetreoverlay;
|
Line 2... |
Line 2... |
2 |
|
2 |
|
Line 3... |
Line 3... |
3 |
import org.tela_botanica.del.client.composants.fenetreoverlay.FenetreOverlayDefilantePresenteur.Vue;
|
3 |
import org.tela_botanica.del.client.composants.fenetreoverlay.FenetreOverlayDefilantePresenteur.Vue;
|
- |
|
4 |
|
4 |
|
5 |
import com.google.gwt.core.client.GWT;
|
5 |
import com.google.gwt.core.client.GWT;
|
6 |
import com.google.gwt.dom.client.Element;
|
6 |
import com.google.gwt.event.dom.client.HasBlurHandlers;
|
- |
|
7 |
import com.google.gwt.event.dom.client.HasClickHandlers;
|
7 |
import com.google.gwt.event.dom.client.ClickEvent;
|
8 |
import com.google.gwt.event.dom.client.HasFocusHandlers;
|
8 |
import com.google.gwt.event.dom.client.HasClickHandlers;
|
9 |
import com.google.gwt.event.dom.client.HasKeyDownHandlers;
|
9 |
import com.google.gwt.event.dom.client.HasKeyDownHandlers;
|
10 |
import com.google.gwt.event.logical.shared.ResizeEvent;
|
10 |
import com.google.gwt.event.logical.shared.ResizeEvent;
|
11 |
import com.google.gwt.event.logical.shared.ResizeHandler;
|
11 |
import com.google.gwt.event.logical.shared.ResizeHandler;
|
12 |
import com.google.gwt.uibinder.client.UiBinder;
|
12 |
import com.google.gwt.uibinder.client.UiBinder;
|
- |
|
13 |
import com.google.gwt.uibinder.client.UiField;
|
13 |
import com.google.gwt.uibinder.client.UiField;
|
14 |
import com.google.gwt.user.client.DOM;
|
14 |
import com.google.gwt.user.client.DOM;
|
15 |
import com.google.gwt.user.client.Event;
|
15 |
import com.google.gwt.user.client.Timer;
|
16 |
import com.google.gwt.user.client.Timer;
|
16 |
import com.google.gwt.user.client.Window;
|
17 |
import com.google.gwt.user.client.Window;
|
17 |
import com.google.gwt.user.client.ui.Button;
|
18 |
import com.google.gwt.user.client.ui.Button;
|
18 |
import com.google.gwt.user.client.ui.Composite;
|
- |
|
19 |
import com.google.gwt.user.client.ui.FocusPanel;
|
19 |
import com.google.gwt.user.client.ui.Composite;
|
20 |
import com.google.gwt.user.client.ui.HTMLPanel;
|
20 |
import com.google.gwt.user.client.ui.FocusPanel;
|
21 |
import com.google.gwt.user.client.ui.HasVisibility;
|
21 |
import com.google.gwt.user.client.ui.HasVisibility;
|
22 |
import com.google.gwt.user.client.ui.HasWidgets;
|
22 |
import com.google.gwt.user.client.ui.HasWidgets;
|
23 |
import com.google.gwt.user.client.ui.HorizontalPanel;
|
23 |
import com.google.gwt.user.client.ui.HorizontalPanel;
|
Line 225... |
Line 225... |
225 |
@Override
|
225 |
@Override
|
226 |
public void afficherBoutonsSuivantsPrecedents(boolean afficher) {
|
226 |
public void afficherBoutonsSuivantsPrecedents(boolean afficher) {
|
227 |
boutonPrecedent.setVisible(afficher);
|
227 |
boutonPrecedent.setVisible(afficher);
|
228 |
boutonSuivant.setVisible(afficher);
|
228 |
boutonSuivant.setVisible(afficher);
|
229 |
}
|
229 |
}
|
- |
|
230 |
|
- |
|
231 |
@Override
|
- |
|
232 |
public boolean testerFermetureClicExterieur(ClickEvent event) {
|
- |
|
233 |
Element e = DOM.eventGetTarget(Event.as(event.getNativeEvent()));
|
- |
|
234 |
return event.getRelativeElement() != null && (e == overlayContenu.getElement());
|
- |
|
235 |
}
|
230 |
}
|
236 |
}
|