List of usage examples for com.google.gwt.user.client.ui PopupPanel setPreviewingAllNativeEvents
public void setPreviewingAllNativeEvents(boolean previewAllNativeEvents)
When enabled, the popup will preview all native events, even if another popup was opened after this one.
From source file:org.opennms.features.topology.app.internal.gwt.client.ui.CustomDisplay.java
License:Open Source License
protected PopupPanel createPopup() { PopupPanel p = new PopupPanel(true, false); p.setStyleName("gwt-SuggestBoxPopup"); p.setPreviewingAllNativeEvents(true); //p.setAnimationType(PopupPanel.AnimationType.ROLL_DOWN); return p;/* w ww. ja va 2s . com*/ }
From source file:org.rhq.enterprise.gui.coregui.client.search.suggest.SuggestTextBox_v3.java
License:Open Source License
private PopupPanel createPopup() { PopupPanel p = new PopupPanel(true, false); p.setWidget(suggestionMenu);//ww w. j av a 2 s . c om p.setStyleName(STYLE_NAME_POPUP_PANEL); p.setPreviewingAllNativeEvents(true); p.addAutoHidePartner(getTextBox().getElement()); return p; }